Raised This Month: $ Target: $400
 0% 

AWP weapons only VIP members bug


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Gamperis
BANNED
Join Date: Aug 2013
Old 08-15-2013 , 12:03   Re: AWP weapons only VIP members bug
Reply With Quote #1

PHP Code:
           g_awp_active register_cvar("awp_active""1")
    
register_clcmd("weapon_awp","HandleCmd")
        
register_clcmd("weapon_sg550","HandleCmd")
        
register_clcmd("weapon_g3sg1","HandleCmd"
PHP Code:
public HandleCmd(id){
    if (!
get_pcvar_num(g_awp_active))
      return 
PLUGIN_CONTINUE
    
if(get_user_flags(id) & ADMIN_LEVEL_H
        return 
PLUGIN_CONTINUE
    client_print
(idprint_center"AWP weapons only VIP members!")
    return 
PLUGIN_HANDLED


Last edited by Gamperis; 08-15-2013 at 13:47.
Gamperis is offline
Reply



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 15:47.


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