Is Player Running ?
#1

Hello

How can i do a system which detect that player is running or not(walking)?
Reply
#2

with GetPlayerAnimationIndex and possibly velocity
Reply
#3

So it work like this ?

pawn Код:
if(GetPlayerAnimationIndex(playerid) && !IsPlayerInAnyVehicle(playerid))
{
   
    //player is running
}
else
{
    //player is not running
}
Reply
#4

bump Give me fast ideas and i give u rep+
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)