Posts: 34
Threads: 2
Joined: Feb 2014
Reputation:
0
Show the complete function 'MessageToAdmins'
Posts: 68
Threads: 19
Joined: Jul 2010
Some thing like that will work under onplayertext
Код:
if(text[0] == '#' && Account[playerid][pAdminlevel] == 10)
{
new string[128]; GetPlayerName(playerid,string,sizeof(string));
format(string,sizeof(string),"Admin Chat: %s(%d): %s",string,playerid,text[1]);
MessageToAdmins(green,string);
#if ADM_CHAT_LOG == true
SaveIn("AdmChatLog",string);
#endif
return 0;
}
_________________
Deal for 1 day! Hosted Tab for 7 $ !! contact : MahdiAsali at skype
Server Test: 37.142.239.201:8888
~~~~
xXx Stunt Paradise Awesome
Server IP:
Click Here!
Hosted Tab Game-MP for 10 Euro / per month
Hosted Tab + Server host 50 slots + Control Panel for 15 Euro
Skype: MahdiAsali
Ђ10 Euro for Hosted List