07.05.2010, 09:17
use this :
pawn Код:
new idx;
tmp = strtok(text, idx);
if ((strcmp("obama", tmp, true, strlen(tmp)) == 0) && (strlen(tmp) == strlen("obama")))
{
GivePlayerCash(playerid, 20000);
format(string, sizeof(string), "* %s has won Nymb3rz with an answer of [obama].", PlayerName(playerid));
SendClientMessageToAll(COLOR_YELLOW, string);
}