Quote:
Originally Posted by MaximumGaming
LOL Your using NGG SCRIPT! NOOB
|
You are too, check out this post and compare it to the code below.
http://forum.sa-mp.com/showpost.php?...86&postcount=4
also just to prove it further more here is the same snipet from the ngg code
pawn Код:
CMD:admin(playerid, params[]) {
if(PlayerInfo[playerid][pAdmin] >= 2) {
if(!isnull(params)) {
new
szMessage[128];
if(PlayerInfo[playerid][pAdmin] == 2) format(szMessage, sizeof(szMessage), "* Junior Admin %s: %s", GetPlayerNameEx(playerid), params);
else if(PlayerInfo[playerid][pAdmin] == 3) format(szMessage, sizeof(szMessage), "* General Admin %s: %s", GetPlayerNameEx(playerid), params);
else if(PlayerInfo[playerid][pAdmin] == 4) format(szMessage, sizeof(szMessage), "* Senior Admin %s: %s", GetPlayerNameEx(playerid), params);
else if(PlayerInfo[playerid][pAdmin] == 1337) format(szMessage, sizeof(szMessage), "* Head Admin %s: %s", GetPlayerNameEx(playerid), params);
else if(PlayerInfo[playerid][pAdmin] == 1338) format(szMessage, sizeof(szMessage), "* Server Manger %s: %s", GetPlayerNameEx(playerid), params);
else if(PlayerInfo[playerid][pAdmin] == 99998) format(szMessage, sizeof(szMessage), "* Co-Executive Admin %s: %s", GetPlayerNameEx(playerid), params);
else if(PlayerInfo[playerid][pAdmin] == 99999) format(szMessage, sizeof(szMessage), "* Executive Admin %s: %s", GetPlayerNameEx(playerid), params);
else format(szMessage, sizeof(szMessage), "* Undefined Admin (%i) %s: %s", PlayerInfo[playerid][pAdmin], GetPlayerNameEx(playerid), params);
SendAdminMessage(COLOR_RED, szMessage);
Log("logs/adminchat.log", szMessage);
}
else SendClientMessageEx(playerid, COLOR_WHITE, "USAGE: (/a)dmin [admin chat]");
}
return 1;
}