Jimmy = PedCreateXYZ(134, GX + 0.1, GY + 0.1, GZ + 0.1)
PedSwapModel(Jimmy, "player")
PedSetActionTree(Jimmy, "/Global/DO_Striker_A", "Act/Anim/DO_Striker_A.act")
PedSetAITree(Jimmy, "/Global/AI", "Act/Anim/AI.act")
This is how it's done in the switch mod.