Raised This Month: $ Target: $400
 0% 

CS TeamSwap / FSB_ALLOWOVERFLOW


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Phant
Veteran Member
Join Date: Sep 2009
Location: New Jersey
Old 09-14-2015 , 06:51   Re: CS TeamSwap / FSB_ALLOWOVERFLOW
Reply With Quote #1

Found this:
https://forums.alliedmods.net/showthread.php?t=90898

So, bypass: Change team with some delay, for example:
PHP Code:
#include <amxmodx>
#include <cstrike>
#include <fun>
#include <fakemeta>

public plugin_init()
{
    
register_plugin("Test""0.1""Phantomas")
    
register_clcmd("say t""clcmdT");
}

public 
swap_teams(id)
{
    switch(
cs_get_user_team(id))
    {
        case 
CS_TEAM_CT:cs_set_user_team(idCS_TEAM_T);
        case 
CS_TEAM_T:cs_set_user_team(idCS_TEAM_CT);
    }
}

team_swap(id)
{
    switch(
id)
    {
        case 
1..7set_task0.2"swap_teams"id );
        case 
8..15set_task0.4"swap_teams"id );
        case 
16..23set_task0.6"swap_teams"id );
        case 
24..32set_task0.8"swap_teams"id );
    }
}

public 
clcmdT(id)
{
    new 
players[32], pnumplr
    get_players
(playerspnum"h")
    for (new 
ii<pnumi++)
    {
        
plr players[i]
        
team_swap(plr)
    }

Phant is offline
Send a message via ICQ to Phant
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 22:08.


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