03.01.2015, 14:15
Hello need help to apply animation when exit vehicle :
so hare is my code onplayerstate changed
its not wirking , i have tried to put this code onplayerexitvechicle but then its just not alow u u exit vehicle , cuz when u try to exit its apply u animation .
so hare is my code onplayerstate changed
Код:
if(oldstate == PLAYER_STATE_DRIVER && newstate == PLAYER_STATE_ONFOOT) { if(GetPlayerVehicleID(playerid) >= PIZZABIKE[0] && GetPlayerVehicleID(playerid) <= PIZZABIKE[10]) { if(PlayerInfo[playerid][HoldingObject] == 1) { ApplyAnimation(playerid,"CARRY","crry_prtial",4.1,1,0,0,1,1); } } }