SA-MP Forums Archive
how to set player walking style? - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: how to set player walking style? (/showthread.php?tid=352970)



how to set player walking style? - N0FeaR - 21.06.2012

i want to make a system allows players registered, they can set the walking style.

how to set player walking style? it is use what Scripting Functions?


Re: how to set player walking style? - .FuneraL. - 21.06.2012

UsePlayerPedAnims in OnGameModeInit


Re: how to set player walking style? - N0FeaR - 21.06.2012

He just for CJ run i mean the other styles


Re: how to set player walking style? - iggy1 - 21.06.2012

You can't. Each skin has it's own run style, same as it has in single player. This can be disabled like .funeral said, but you can't set the walking style.

You may be able to play around with different running/walking animations, but i don't think it will look/feel very good.


Re: how to set player walking style? - Lorenc_ - 21.06.2012

use seif_walk

http://pastebin.com/W11RsR1L

sorry for the language, I just found a link off ******.com lol


Re: how to set player walking style? - N0FeaR - 22.06.2012

Quote:
Originally Posted by Lorenc_
Посмотреть сообщение
use seif_walk

http://pastebin.com/W11RsR1L

sorry for the language, I just found a link off ******.com lol
Thank you a lot.


Re: how to set player walking style? - Jaxson - 22.06.2012

You can customize walk styles by applying a walking animation when the player is holding down move forward key and walk key under OnPlayerKeyStateChange callback.