possible?
#1

is it possible ?
with pAdminDuty = 0
player get admin level 1
if admin duty 1
he gets his original admin level?
as he checks first if he is admin or no

isit possible? how?
Reply
#2

It is possible. Inside of your command where it makes the admin go off duty (pAdminDuty = 0), just put the function under that.

Example:

pawn Код:
pAdminDuty = 0
SetPlayerAdminLevel(playerid, 1);
Just a reminder, this is just an example, it probably wont work in your script.
Reply
#3

okay but how to back his level after aduty 1??
Reply
#4

If you have admin system his admin level is saved, so just make
pawn Код:
If(pAdminDuty[playerid] == 1)
{
    // load player's admin level here
}
Reply
#5

okay thanks i will try and reply
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)