Raised This Month: $ Target: $400
 0% 

Weapon problem [Solved]


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
M249-M4A1
I <3 Mac
Join Date: May 2005
Location: Not interested
Old 11-06-2007 , 12:45   Re: Weapon problem
Reply With Quote #5

I know for a fact that you can block the drop command, so this should work

PHP Code:
public plugin_init() {
    
register_clcmd("drop""hookDrop"0)
}

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

__________________
M249-M4A1 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 01:24.


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