02.01.2011, 13:39
Just use SendClientMessage(playerid, COLOR, "Message");
Example:
On top of your script...
Then inside on player command text...
Example:
On top of your script...
pawn Код:
#define COLOR_WHITE 0xFFFFFFAA
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
if(strcmp("/help",cmdtext ,true ,5) == 0)
{
SendClientMessage(playerid, COLOR_WHITE, "This is a test server,we only have /rf and /kill scripted manually");
return 1;
}
return 0; // Returns : "SERVER: Uknown command" else nothing.
}