Commands Level File - 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: Commands Level File (
/showthread.php?tid=136455)
Commands Level File -
-PunisheR- - 25.03.2010
Hey all,
I want to create a file in scriptfiles, that includes every command and his level, example:
Код:
sethp=2
kill=3
lockserver=10
I have the LAdmin admin mode, how can i do it?
Thanks.
Re: Commands Level File -
-PunisheR- - 25.03.2010
Someone?
I mean like the file in XtremeAdmin, editing the command acces level file without editing the PWN file.
Re: Commands Level File -
-PunisheR- - 26.03.2010
BUMP? come on guys.
Re: Commands Level File -
Oxside - 26.03.2010
This sounds a little bit like:
I can't script it so i dump it here and wait for somebody who can..
isn't it?
Try yourself: DUDB/DINI
Re: Commands Level File -
Niixie - 26.03.2010
when you do
if(PlayerInfo[playerid][AdminLevel] >= 1)
change it to
if(PlayerInfo[playerid][AdminLevel] >= dini_Int(Adminlevels, "sethp"))
this should be the same as
if(blabla >= 2) then its good
you need a file called adminlevels where this can read from