How to check if a player is walking? - 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 check if a player is walking? (
/showthread.php?tid=613152)
How to check if a player is walking? -
SetPlayerNameTag - 25.07.2016
Really need this?just post the code via forum
Re: How to check if a player is walking? -
Cheesus - 25.07.2016
https://sampwiki.blast.hk/wiki/OnPlayerKeyStateChange
check if the player is using KEY_WALK
Re: How to check if a player is walking? -
SetPlayerNameTag - 25.07.2016
Quote:
Originally Posted by Cheesus
|
inefficiency, may issue.
Re: How to check if a player is walking? -
JustMe.77 - 25.07.2016
Could you define "walking" ?
So for example running, sprinting, crouching etc shouldn't count ? If yes, I'd check what animation the player is doing.
Re: How to check if a player is walking? -
SetPlayerNameTag - 25.07.2016
Quote:
Originally Posted by JustMe.77
Could you define "walking" ?
So for example running, sprinting, crouching etc shouldn't count ? If yes, I'd check what animation the player is doing.
|
yes man
Re: How to check if a player is walking? -
SickAttack - 25.07.2016
Quote:
Originally Posted by SetPlayerNameTag
yes man
|
Then check what animation it is when a player walks.
Re: How to check if a player is walking? -
SetPlayerNameTag - 25.07.2016
upupup
Re: How to check if a player is walking? -
Sew_Sumi - 25.07.2016
24 hour bumps only.