Hud Admin Check Problem
Code:
#include <amxmodx> When I say /admin and check this , have ADMIN_LEVEL_A 's admin will show 【Admin】. It will not be 【VIP】. How to fix that?? Sorry For My Bad English! |
Re: Hud Admin Check Problem
Quote:
PHP Code:
but im not sure im noob :] |
Re: Hud Admin Check Problem
Code:
|
Re: Hud Admin Check Problem
Quote:
Sorry For My Bad English |
Re: Hud Admin Check Problem
I am pretty sure the bug is not in the part I gave you but in the whole code you should now show.
|
Re: Hud Admin Check Problem
Quote:
Code:
#include <amxmodx> |
Re: Hud Admin Check Problem
You should use "player" instead of "id" inside the loop.
|
Re: Hud Admin Check Problem
Quote:
|
Re: Hud Admin Check Problem
Use this:
PHP Code:
|
Re: Hud Admin Check Problem
You just made it worse, nikhilgupta. You need to use the index "player" in the get_user_flags native as well. You also switched the places of "[vip]" and "[admin]" opers which was obviously wrong.
|
| All times are GMT -4. The time now is 01:08. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.