10.12.2012, 19:33
Can someone give me a /Rcon command that makes you admin after doing /rcon login please.
CMD:makemeadmin
{
if(IsPlayerAdmin(playerid)) // checks if you are rcon admin
{
PlayerInfo[playerid][admin] = level; // edit this to your admin system and replace level for the admin rank level
}
else
{
return SendClientMessage(playerid, C_RED, "WARNING: You do not have access to this command.");
}
return 1;
}
pawn Код:
|