Raised This Month: $51 Target: $400
 12% 

is_user_admin() doesn't works right!


  
 
 
Thread Tools Display Modes
#Reaper
Junior Member
Join Date: Mar 2006
Old 06-04-2006 , 17:01  
#11

I don't know, I work with AMXX only since several month, and I'm still not soo good ;)
But in AMXX Doc there's a example.. and it works so..
A friend of me has found the same bug.. that can't be normal.. or?

MfG
#Reaper
__________________
#Reaper is offline
Send a message via ICQ to #Reaper
BAILOPAN
Join Date: Jan 2004
Old 06-11-2006 , 17:10  
#12

They might not be an admin by the time 5 seconds have passed after client_putinserver. This is from steamid issues and whatnot, it's kind of random.

For more deterministic results, you should simply modify admin.sma to run your code or export some kind of "became an admin" callback.

Otherwise, is_user_admin doesn't have any bugs like this and we can't reproduce them.
__________________
egg
BAILOPAN is offline
Freecode
Never Fall Asleep
Join Date: Jan 2004
Old 06-11-2006 , 17:14  
#13

out of curiosity, are you setting admin upon steamid or ip or name?
Freecode is offline
 



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 05:02.


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