06.03.2012, 20:32
Hello
How can i do a system which detect that player is running or not(walking)?
How can i do a system which detect that player is running or not(walking)?
if(GetPlayerAnimationIndex(playerid) && !IsPlayerInAnyVehicle(playerid))
{
//player is running
}
else
{
//player is not running
}