22.05.2010, 13:24
Try this at OnPlayerText:
Код:
public OnPlayerText(playerid, text[]) { for(new a = 0; a < strlen(text); a++) { if(AdvertisementCheck(text[a])) { PlayerInfo[playerid][pLocked] = 1; Kick(playerid); return 0; } }