Raised This Month: $ Target: $400
 0% 

access() broken?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
bahr
Member
Join Date: Aug 2005
Old 09-07-2005 , 07:59   access() broken?
Reply With Quote #1

Is it me or something is wrong with access() ?

Code:
public client_putinserver(id) {     get_user_name(id, name, 32)     set_hudmessage(120, 120, 200, X, Y, Effects, FxTime, HoldTime, FadeIn, FadeOut, Channel)     if (access(id, ADMIN_ADMIN)) {         log_amx(rndSuperAdmin[random(NUM_MSG)], name)         show_hudmessage(0, rndSuperAdmin[random(NUM_MSG)], name)     } else if (is_user_admin(id)) {         log_amx(rndAdmin[random(NUM_MSG)], name)         show_hudmessage(0, rndAdmin[random(NUM_MSG)], name)     } else {         show_hudmessage(0, "%s is ready to fight!", name)     } }

I got the super-admin msg even if I dont have ADMIN_ADMIN (flag "y") access!? (Im using AmxmodX 1.01)
bahr is offline
Send a message via MSN to bahr
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 14:28.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode