07.06.2011, 17:32
Okay, so I wanna make an admin command, for RCON only, it will be a /makeadmin command.
Thank you for all of your help!
pawn Код:
COMMAND:makeadmin(playerid, params[])
{
SendClientMessageToAll(WHITE, "Welcome an administrator to the team!");
//this bit here, how would I make it to set someone else to an admin?
//I have this for the level thing thing....
dini_IntSet(file, "Level", gPlayerInfo[playerid][PLAYER_LEVEL]);
//that is the admin level, how could I send it?
return 1;
}