Problem of Showing admins
So this time i have a plugin which has no compiling problem but it doesn't works fine. Anyway, plugin first:
Code:
The problem is: The higher lv admins' names have also been shown in the lower lv column. Let's say that abc is lv3 and the only admin in the server.Then when i say /admin, the hud message is like this: Quote:
At last sorry for my bad english.:wink: |
Re: Problem of Showing admins
Can anyone solve this problem?? I think it's easy to code experts. Bump!
|
Re: Problem of Showing admins
1 Attachment(s)
I believe I got it working to skip the admin from being listed in the lower list's by just checking if the user also has the higher admin power if so it skips it (aka: PLUGIN_CONTINUE).
The file(s) are attached so all you need to do is download it, and you can also check the sma file to see how I edited. If anyone has a better way to make this work than go ahead but this is the only way that I got it to work by testing by my self. -If you find any issue's plz tell, and don't forget to REP++ :wink: |
| All times are GMT -4. The time now is 18:29. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.