Raised This Month: $ Target: $400
 0% 

AWP for Admins ONly


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
SkumTomteN
Veteran Member
Join Date: Oct 2013
Location: Asgard
Old 05-12-2015 , 08:23   Re: AWP for Admins ONly
Reply With Quote #4

Quote:
Originally Posted by san12345 View Post
Yes. I tried. But there r so many commands like + 15hp etc.
I just want awp for admi. No other commands in that plugin
PHP Code:
#include <amxmodx> 

#define ADMIN_FLAG ADMIN_BAN

public plugin_init() register_event("WeapPickup""Event_AWP""b""1=18" )  
public 
Event_AWP(id)  
{  
    if( 
get_user_flagsid ) | ADMIN_FLAG 
    { 
        static 
Affected read_data
        
        
client_cmdAffected,"weapon_awp;wait;wait;wait;drop" )
        
        
client_printAffectedprint_center"AWPs are only for admins." )  
    } 

__________________
Contact: Steam
Videos: Youtube

Last edited by SkumTomteN; 05-12-2015 at 08:24.
SkumTomteN 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 20:21.


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