SA-MP Forums Archive
[Question]How can i make the player walk slow - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: [Question]How can i make the player walk slow (/showthread.php?tid=193936)



[Question]How can i make the player walk slow - Lilcuete - 28.11.2010

Does anyone know how i can make a player walk in slow motion.


Re: [Question]How can i make the player walk slow - Buzzbomb - 28.11.2010

yes i think with velocity and one of the key functions


Re: [Question]How can i make the player walk slow - Lilcuete - 28.11.2010

Ok whats the velocity number? how can i find?


Re: [Question]How can i make the player walk slow - Lilcuete - 28.11.2010

Also i meant runn in slow motion.


Re: [Question]How can i make the player walk slow - Buzzbomb - 28.11.2010

https://sampwiki.blast.hk/wiki/GetPlayerKeys


Re: [Question]How can i make the player walk slow - Lilcuete - 28.11.2010

I know that but i wanna know how to set velocity for player so he can go slow motion.


Re: [Question]How can i make the player walk slow - Cypog - 28.11.2010

There are some possibilities:
Use a walking animation. (easy)
Use a timer wich calls SetPlayerVelocity (not easy, cause you have to do some angle calculations maybe)
Use a timer to slow the player down with GetPlayerVelocity and SetPlayerVelocity (should be easy)