22.02.2017, 22:00
I tried this too:
But still freezing, looping animations and players can not walk write on server..
Код:
if(GetPlayerState(playerid) == PLAYER_STATE_ONFOOT) { new w = GetPlayerWeapon(playerid); if(w == 25 || w == 27 || w == 30 || w == 31 || w == 33 || w == 34) { if(GetPlayerSpeed(playerid, true) >= 1) { if(GetPlayerAnimationIndex(playerid) != 1223) ApplyAnimation(playerid, "PED", "RUN_ARMED", 4.1, 0, 1, 1, 0, 0); } else { if(GetPlayerAnimationIndex(playerid) != 1183) ApplyAnimation(playerid, "PED", "IDLE_ARMED", 4.1, 0, 1, 1, 0, 0); } } }