27.03.2011, 15:48
hello, this is my code and it seems to work fine in the game, so when i hit /cell the player is picking up the phone, but the problem is that i don't hear the sound of the phone "calling" and bytheway what is the id of the cellphone call? thanks
Код:
public OnPlayerCommandText(playerid, cmdtext[]) { if (strcmp("/cell", cmdtext, true, 10) == 0) { SetPlayerSpecialAction(playerid, SPECIAL_ACTION_USECELLPHONE); PlayerPlaySound(playerid, 1002, 0.0, 0.0, 0.0); return 1; }