Raised This Month: $ Target: $400
 0% 

Make it so user can not drop given weapon


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
slypanther
BANNED
Join Date: Jan 2008
Old 01-12-2008 , 17:07   Re: Make it so user can not drop given weapon
Reply With Quote #10

PHP Code:
if(user_is_ct(id)
    public 
PLUGIN_HANDLED 
Connerr would this work?

Guess this is Dont Pickup
PHP Code:
#include <amxmodx>
#include <amxmisc>

public plugin_init() { 
    
register_clcmd("drop""hookPickup"0


public 
hookPickup(id) { 
    if (
get_user_weapon(id) == CSW_USP) { 
        
client_print(idprint_chat"[AMXX] You are not allowed to pickup the USP!"
        return 
PLUGIN_HANDLED 
    

    return 
PLUGIN_CONTINUE 


Last edited by slypanther; 01-12-2008 at 17:15.
slypanther 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:20.


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