30.12.2010, 03:20
It compile fine.. but it dont work =/ and i have looked at Wiki, but mu english isent soo good =/
pawn Код:
public OnPlayerText(playerid, text[])
{
new string[64];
new File:forbiddenwords = fopen("ForbiddenWords.txt", io_read);
while(fread(forbiddenwords, string))
{
SendClientMessage(playerid, 0xFFFFFFF, "That word is forbidden!!!");
}
fclose(forbiddenwords);
return 1;
}