Posts: 24
Threads: 4
Joined: Sep 2008
Reputation:
0
Hello everyone, I was wondering if you guys could help me. I recently created a register / log in system and now i want to make a administrative part of it. So i guess what i am wanting help on would be setting up the levels. ( eg. so like if you have lvl 1 you can kick people and stuff like that ) i dont really need to know how to kick people as much as saving infomation on like what lvl the person is. If you could help i would really appreciate it! Thanks
- Kody
Posts: 669
Threads: 7
Joined: Nov 2007
Reputation:
0
this sounds quite complicated, i would recoomend looking at some other admin filter scripts and try to make a level field in your account system using dini
Posts: 24
Threads: 4
Joined: Sep 2008
Reputation:
0
when i created my reg/login system i use dudb... Shool i make a new one? or wut?
Posts: 384
Threads: 20
Joined: Mar 2008
Reputation:
0
I use dudb for mine and this is how I do it.
in their user file add AdminLevel=Level
or make a command to do dUserSetINT(PlayerName).("AdminLevel",Level);
and than when you want to check their admin level for things just do something like if(dUserINT(PlayerName).("AdminLevel") >= Level)
If you figured out how to make the reg/login with dudb it shouldn't be too hard for you to do this, good luck!
Posts: 24
Threads: 4
Joined: Sep 2008
Reputation:
0
Thanks for you help, I will see what i can do. Thanks again!
Posts: 24
Threads: 4
Joined: Sep 2008
Reputation:
0
1 question how would i get a persons level?