27.02.2014, 18:40
pawn Код:
stock bool:IsPlayerMoving(playerid)
{
new Float:Velocity[3];
GetPlayerVelocity(playerid, Velocity[0], Velocity[1], Velocity[2]);
if(Velocity[0] == 0 && Velocity[1] == 0 && Velocity[2] == 0) return false;
return true;
}