Set myself admin on my own server
#8

Quote:
Originally Posted by Stinged
Посмотреть сообщение
Replace this
Код:
if(GetPVarInt(playerid, "Admin") < 9) return nal(playerid);
with this:
Код:
if(!IsPlayerAdmin && GetPVarInt(playerid, "Admin") < 9) return nal(playerid);
Now RCON admins can use that command.
You made a little mistake, IsPlayerAdmin without playerid
PHP код:
if(!IsPlayerAdmin(playerid) && GetPVarInt(playerid"Admin") < 9) return nal(playerid); 
Reply


Messages In This Thread
Set myself admin on my own server - by xIs0BiHx - 05.08.2016, 20:36
Re: Set myself admin on my own server - by Stinged - 05.08.2016, 20:41
Re: Set myself admin on my own server - by xIs0BiHx - 05.08.2016, 20:46
Re: Set myself admin on my own server - by JustMe.77 - 05.08.2016, 20:49
Re: Set myself admin on my own server - by xIs0BiHx - 05.08.2016, 20:58
Re: Set myself admin on my own server - by xIs0BiHx - 05.08.2016, 21:00
Re: Set myself admin on my own server - by xIs0BiHx - 05.08.2016, 21:34
Re: Set myself admin on my own server - by Shinja - 05.08.2016, 21:38
Re: Set myself admin on my own server - by xIs0BiHx - 05.08.2016, 21:40
Re: Set myself admin on my own server - by Stinged - 05.08.2016, 22:04

Forum Jump:


Users browsing this thread: 2 Guest(s)