09.02.2011, 17:15
These codes give me errors, are you sure they are correct?
Edit:
Ok I got that to work but I had to delete
to get it to work but in game when I type it, it just says CAUTION, it doesn't say who said it, how do I get it to say who said it?
Edit:
PHP код:
public OnPlayerText(playerid, text[])
{
if(!strcmp(text, "10-0", true))
{
SendClientMessageToAll(0xFF0000FF, "CAUTION");
return 0;
}
return 1;
}
PHP код:
return 1;
}