20.06.2011, 20:46
pawn Код:
public OnPlayerUpdate(playerid)
{
if(GetPlayerAnimationIndex(playerid) == 458 || GetPlayerAnimationIndex(playerid) == 901 ||
GetPlayerAnimationIndex(playerid) == 908 || GetPlayerAnimationIndex(playerid) == 1222 ||
GetPlayerAnimationIndex(playerid) == 1223 || GetPlayerAnimationIndex(playerid) == 1224 ||
GetPlayerAnimationIndex(playerid) == 1225 || GetPlayerAnimationIndex(playerid) == 1226
|| GetPlayerAnimationIndex(playerid) == 1227
|| GetPlayerAnimationIndex(playerid) == 1228
|| GetPlayerAnimationIndex(playerid) == 1229
|| GetPlayerAnimationIndex(playerid) == 1230
|| GetPlayerAnimationIndex(playerid) == 1231
|| GetPlayerAnimationIndex(playerid) == 1232
|| GetPlayerAnimationIndex(playerid) == 1233
|| GetPlayerAnimationIndex(playerid) == 1236
|| GetPlayerAnimationIndex(playerid) == 1249
|| GetPlayerAnimationIndex(playerid) == 1276
|| GetPlayerAnimationIndex(playerid) == 1277
|| GetPlayerAnimationIndex(playerid) == 1278
|| GetPlayerAnimationIndex(playerid) == 1279
|| GetPlayerAnimationIndex(playerid) == 1280
|| GetPlayerAnimationIndex(playerid) == 1384) // player is running
return 1;
}