Command Help
#1

how to make admin command included check if player is admin level X (admin system) in ini file using y_ini...
i want to read the player data in ini and put into this PlayerInfo[playerid][pAdmin] > 1...hope someone help me :v
Reply
#2

This is an area to receive help of scripts created. You seem to be a newbie to scripting so I recommend hitting up the tutorials section to first learn saving systems, then look into enumerations.
Reply
#3

pawn Code:
if(strcmp(cmdtext, "/command", true) == 0)
{
    if(PlayerInfo[playerid][pAdmin] > 0) //If playerid isn't a admin, he can't type this.
    {
        //Your command
    }
    else SendClientMessage(playerid, -1, "You aren't admin.");
    return 1;
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)