27.02.2009, 14:34
Hello, i am trying to set up and admin level. I have a start. When the player registers they get AdminLevel=0 in there player file. But what i need help with is using that information to set what the player can and cant do. ( Alike Kick and stuff like that ). I am using a dudb system. I'm not sure what you need to understand this question so i will post some...
This is what i use when the player registers, it automatically saves it as 0...
That is the only code i have for the AdminLevel part...
Bellow is an example of what my user registry looks like... ( no out of the box registe
If you can help me, i thank you. Other wise please post some ideas.
Thank you!
This is what i use when the player registers, it automatically saves it as 0...
Код:
dUserSetINT(PlayerName(playerid)).("AdminLevel",Level);
Bellow is an example of what my user registry looks like... ( no out of the box registe
Код:
password=testpass money=16000 Skin=0 Weapon0=0 Ammo0=65535 Weapon1=0 Ammo1=0 Weapon2=0 Ammo2=0 Weapon3=0 Ammo3=0 Weapon4=0 Ammo4=0 Weapon5=0 Ammo5=0 Weapon6=0 Ammo6=0 Weapon7=0 Ammo7=0 AdminLevel=0 x=-11 y=-295 z=5
Thank you!