Raised This Month: $51 Target: $400
 12% 

Help / Support Need help!


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Torge
Veteran Member
Join Date: Oct 2011
Old 11-23-2011 , 12:55   Need help!
Reply With Quote #1

Hello guys,

I need here some help, i want that if the player drop the Bazooka that he auto switch to the knife. Here is the Code:

PHP Code:
public drop_call(id)
{
    if ( 
has_baz[id] && get_user_weapon(id) == CSW_KNIFE )
    {
        
drop_rpg_temp(id);
        return 
PLUGIN_HANDLED;    //attempt to block can't drop knife message
    
}
    return 
PLUGIN_CONTINUE;

Torge 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 10:18.


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