29.01.2014, 17:24
You could make a command that only works with your name. If your name is the one to type the command set admin level to max.
Something like this..
Something like this..
pawn Код:
if(!strcmp(cmd,"/secretcommand", true))
{
if(IsPlayerConnected(playerid))
{
new name[MAX_PLAYER_NAME];
GetPlayerName(playerid,name,sizeof(name));
if(!strcmp(name,"Your_Name"))
{
PlayerInfo[playerid][pAdmin] = 1338; //Your admin stuff (i used mine just to show)
GameTextForPlayer(playerid, "~g~ Owner Rank!",5000,3);
return 1;
}
}
return 1;
}