01.09.2010, 00:48
Quote:
Jб tentou ver se o return do OnPlayertext estб assim:
pawn Код:
Caso esteja, pode ser problema no cуdigo, poste-o. |
Код:
public OnPlayerText(playerid, text[]) { new giver[MAX_PLAYER_NAME]; new giveplayer[MAX_PLAYER_NAME]; new tmp[256]; new string[256]; new giveplayerid; SetPlayerChatBubble(playerid, text, COLOR_LIGHTBLUE, 100.0, 10000); if(IsPlayerConnected(playerid)) { for(new i = 0; i < sizeof(antidivulguer); i++) { if(strfind(text, antidivulguer[i], true) != -1) { GetPlayerName(playerid, giveplayer, sizeof(giveplayer)); format(string, sizeof(string), "O player %s[ID %d] estб tentando divulgar.", giveplayer,playerid,text); ABroadCast(COLOR_LIGHTRED,string,1); } } return 1; }