Search the Community
Showing results for tags 'walkingstyle'.
-
Hi everyone ! I'm slowly learning MTA SA scripting and more generally programmation. I made some basics commands. One changes my skin. But then I'm lokking to my new face, it looks scary, breacause CJ walking style is still applied on it. I know the function to change it, but I need to associate the 300 skins that GTA contains to their walking style. I can't find the holy web page which associates each skin to its walking style, so I'm requesting your help ! Thanks to all the people who will try to help me, and sorry if my English is not perfect.
-
Buenas, recién estoy aprendiendo a scriptear y hay cosas que no entiendo (aparte de tener un inglés muy malo) y quisiera saber si me pueden ayudar a hacer que al spawnear o entrar al server el jugador adquiera un estilo de pelea y forma de caminar en específico. Esto lo he sacado de la wiki pero no le he entendido nada y he intentado con los addEventHandler pero no sé como poner un estilo en específico. style = {STYLE_KUNG_FU, 6} function joinFight ( thePlayer ) if thePlayer and style then -- If player and ID are specified setPedFightingStyle ( thePlayer, style ) -- set the fighting style end end addEventHandler ('onPlayerSpawn', joinFight) -------------------------------------------------------------------------------------------------------------------------------------------------- walkStyles = { {"Old Fat Man", 123 }, } function onClientResourceStart(localPlayer) setPedWalkingStyle(localPlayer, 0) end addEventHandler("onPlayerSpawn",resourceRoot, onClientResourceStart)
- 3 replies
-
- spawn
- walkingstyle
-
(and 1 more)
Tagged with: