20.04.2012, 00:37
I want to add a certain command to my AdminScript, I searched on ****** and had poor results...
My question today is... How do i add a command that allows me to set a players admin level, or how to make a user an admin? You may have trouble for understanding my question.... But it's (Believe it or not) hard to ask/explain.
For example:
Do you get what i'm trying to say
I'm trying to figure that out so i can make my friends a certain admin level so they can try it out... And test my admin script to see if it is working.
Thanks
~Sub.
My question today is... How do i add a command that allows me to set a players admin level, or how to make a user an admin? You may have trouble for understanding my question.... But it's (Believe it or not) hard to ask/explain.
For example:
pawn Код:
dcmd_makeadmin(playerid, params[])
{
(!IsPlayerAdmin) // ETC... what ever the rcon admin thing is....
SetPlayerAdminLevel(playerid, COLOR_WHATEVER, "Your now and admin....");
return 1;
}
I'm trying to figure that out so i can make my friends a certain admin level so they can try it out... And test my admin script to see if it is working.
Thanks
~Sub.