Posts: 11,827
Threads: 33
Joined: Dec 2011
Reputation:
0
Would you mind to be more specific? Doesn't it work correct? What kind of problem did you find?
First of all, change AdminCMD's size from 500 to 24.
You didn't post MessageToAdmins too in case there's something wrong in it.
Other than those above, it seems fine.
Posts: 392
Threads: 101
Joined: Jan 2013
Reputation:
0
can you just fixed for me because i'm kind of stupid of ScriptinG :\
Posts: 2,593
Threads: 34
Joined: Dec 2007
pawn Код:
stock CMDMessageToAdmins(playerid,command[])
{
if(ServerInfo[AdminCmdMsg] == 0) return 1;
new string[144];
new AdminName[MAX_PLAYER_NAME + 1];
GetPlayerName(playerid,AdminName,MAX_PLAYER_NAME);
format(string,sizeof(string),"(Admin) '%s' (Level: %d) | Command: %s", AdminName, PlayerInfo[playerid][Level], command);
return MessageToAdmins(yellow,string);
}