20.12.2013, 10:05
1) why this code apply only the animation, and doesn't play the puke sound ?
2) why i got freezed at my current location after any animation finished, i have to press JUMP to move. any soloution?
2) why i got freezed at my current location after any animation finished, i have to press JUMP to move. any soloution?
pawn Код:
CMD:puke(playerid, params[])
{
new Float:x, Float:y, Float:z;
GetPlayerPos(playerid, x,y,z);
ApplyAnimation(playerid, "FOOD", "EAT_Vomit_P" , 4.1, 0, 1, 1, 1, 1, 1);
PlayerPlaySound(playerid,1169,x,y,z);
return 1;
}