Commands Level File
#1

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.
Reply
#2

Someone?
I mean like the file in XtremeAdmin, editing the command acces level file without editing the PWN file.
Reply
#3

BUMP? come on guys.
Reply
#4

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
Reply
#5

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
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)