Quote:
Originally Posted by Zeus666
PHP код:
public OnPlayerText(playerid, text[])
{
if(text == "TEsT")
{
format(message, sizeof(message), "%s says: TEsT", PlayerName(playerid);
SendMessageToAllAdmins(-1,message);
SendClientMessage(playerid, -1, ""chat""COL_RED"[Server]: Hi. (exp));
return 0;
}
|
That won't work, the identation is killed, copy-pasted.