Raised This Month: $ Target: $400
 0% 

CurWeapon


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
GhostMan
Senior Member
Join Date: Jun 2012
Old 04-20-2013 , 16:56   CurWeapon
Reply With Quote #1

Does it makes any difference if i return some value in CurWeapon event or don't?

PHP Code:
public EventCurWeapon(id)
{
    if(
get_user_team(id) == 1)
        
engclient_cmd(id"weapon_knife")
    
    return 
PLUGIN_HANDLED
}

public 
EventCurWeapon(id)
{
    if(
get_user_team(id) == 1)
        
engclient_cmd(id"weapon_knife")
    
    return 
PLUGIN_CONTINUED
}

public 
EventCurWeapon(id)
{
    if(
get_user_team(id) == 1)
        
engclient_cmd(id"weapon_knife")


Last edited by GhostMan; 04-20-2013 at 16:59.
GhostMan 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 10:51.


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