1 again
#8

First, you need to know the adminship variable in your script the most popular is: pInfo[playerid][pAdmin];
or you can even choose it for an rcon admin with: IsPlayerAdmin(playerid)
then use an " if " statement to check the admin level of player.
PHP код:
CMD:toggleooc(playerid

   if (
pInfo[playerid][pAdmin] >= 3)
   {           
//Replace 3 with the number you want. OR for rcon admin.
   
if(IsPlayerAdmin(playerid))
   {
        if(
OOC_status
        { 
Reply


Messages In This Thread
1 again - by Imbalo - 15.03.2017, 09:35
Re: 1 again - by Flamehaze7 - 15.03.2017, 09:42
Re: 1 again - by Imbalo - 15.03.2017, 10:07
Re: 1 again - by Flamehaze7 - 15.03.2017, 10:09
Re: 1 again - by Logic_ - 15.03.2017, 10:26
Re: 1 again - by Imbalo - 15.03.2017, 16:06
Re: 1 again - by Imbalo - 16.03.2017, 07:10
Re: 1 again - by coool - 16.03.2017, 07:23
Re: 1 again - by Imbalo - 16.03.2017, 07:34
Re: 1 again - by andrejc999 - 16.03.2017, 07:52

Forum Jump:


Users browsing this thread: 1 Guest(s)