Raised This Month: $ Target: $400
 0% 

Alternative to is_user_admin() ?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
devWaleed
Member
Join Date: Apr 2013
Location: Karachi, Pakistan
Old 04-17-2013 , 14:45   Alternative to is_user_admin() ?
Reply With Quote #1

Em Hi, probably my first post here. I found that is_user_admin() is not showing in funcwiki and It isn't working in my script too, perhaps only for me? :/

PHP Code:
    if(is_user_alive(id) && !is_user_bot(id) && is_user_admin(id) == 0){
        
set_task(float(get_pcvar_num(frequency)), "getdata"id__"b")
    } 
I still get my desired errors for clients which shouldn't been shown if user is admin.

Is there an alternative to it? Or If still is_user_admin() works?

-Thanks.

Last edited by devWaleed; 04-17-2013 at 17:17.
devWaleed is offline
Send a message via Skype™ to devWaleed
 



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 10:54.


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