21.10.2016, 15:08
I don't know what are you saying but maybe you mean a MessageToAdmins. Here it is:
Here's an Example how to do it with string a message to admins..
That's it !
Just a simple message.
Код:
forward MessageToAdmins(color,const string[]); public MessageToAdmins(color,const string[]) { for(new i = 0; i < MAX_PLAYERS; i++) { if(IsPlayerConnected(i) == 1) if (PlayerInfo[i][Level] >= 1) SendClientMessage(i, color, string); } return 1; }
Код:
new string[256]; new pName[MAX_PLAYER_NAME]; GetPlayerName(playerid, pName, sizeof(pname)); format(string,sizeof(string), "Hello, i'm Very good player how are you ? I'm also good ! ~by %s.", pName ); MessageToAdmins(COLOR_ORANGE,string);
Just a simple message.