17.03.2014, 11:48
I have this code
But this code is not working. when i enabled it and when a far players talk its not broadcasting.
I dunno why..
Do i need to set the big ear on OnPlayerTalk? or what or OnPlayerCommand?
Код:
// Big Ears CMD:bigears(playerid, params[]) { if( PlayerInfo[playerid][pAdmin] >= 3) { if (!BigEar[playerid]) { BigEar[playerid] = 1; SendClientMessageEx(playerid, COLOR_GRAD2, "Your ears have grown to gargantuan proportions!"); } else if (BigEar[playerid]) { (BigEar[playerid] = 0); SendClientMessageEx(playerid, COLOR_GRAD2, "Your ears have shrunk."); } } return 1; }
Код:
new BigEar[MAX_PLAYERS];
I dunno why..
Do i need to set the big ear on OnPlayerTalk? or what or OnPlayerCommand?