SA-MP Forums Archive
[HELP] Admin help please - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: [HELP] Admin help please (/showthread.php?tid=221808)



[HELP] Admin help please - ryan_parkour - 06.02.2011

Hi guys

I want to make myself admin. I tried to type in the rcon password, but when I saw /ban. it says i'm not an admin.

Please help

thanks


Re: [HELP] Admin help please - Antonio [G-RP] - 06.02.2011

If your script goes by a variable for admin stored in an array, you must either edit your file, Database, or other storage. If you want to be able to use /ban when you're logged into RCON, you must include if(IsPlayerAdmin(playerid))


Re: [HELP] Admin help please - Mean - 06.02.2011

What the heck are you using, a level system, or IsPlayerAdmin ?


Re: [HELP] Admin help please - ryan_parkour - 07.02.2011

I'm just on a new script but I don't know how to use ''IsPlayerAdmin" commmnad