Raised This Month: $ Target: $400
 0% 

Blocking team menu


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
EpicKiller
Senior Member
Join Date: Jun 2014
Location: Constanta, Romania
Old 07-16-2014 , 03:45   Re: Blocking team menu
Reply With Quote #3

Quote:
Originally Posted by Eagle07 View Post
PHP Code:
register_clcmd("chooseteam""block_choose"
&
PHP Code:
public block_choose(id)
{
        return 
PLUGIN_CONTINUE;

--------Or---------


PHP Code:
register_clcmd("chooseteam""block"
&
PHP Code:
public block(id)
{
    static 
CsTeams:team
    team 
cs_get_user_team(id)
    
    if (
team == CS_TEAM_SPECTATOR || team == CS_TEAM_UNASSIGNED)
        return 
PLUGIN_CONTINUE
    block_choose
(id)
    return 
PLUGIN_HANDLED;
}
public 
block_choose(id)
{
        return 
PLUGIN_CONTINUE;

Great, thanks! Your help is greatly appreciated!
EpicKiller is offline
Send a message via Yahoo to EpicKiller Send a message via Skype™ to EpicKiller
 



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 13:04.


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