Making specific players sprint - 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: Making specific players sprint (
/showthread.php?tid=116008)
Making specific players sprint -
FoxtrotZulu - 27.12.2009
Hello,
I'm currently wondering how to make certain players only sprint. In particular, I want one team to be able to sprint and one to not. Unfortunately,
UsePlayerPedAnims has no parameters and can only be used under the
OnGameModeInit callback. I'm currently stumped, I know it's possible as I've seen it in action on a server before. If anyone could help me with this, I'd appreciate it very much.
Thanks,
Foxtrot
Re: Making specific players sprint -
[HiC]TheKiller - 27.12.2009
It is not possible unless you use a special sprint using SetPlayerVelocity.