Thread: [Solved] respawn as CT
View Single Post
Author Message
1M1e
Member
Join Date: Mar 2020
Old 08-09-2021 , 15:35   respawn as CT
Reply With Quote #1

hi,

i have this code

PHP Code:
#include <amxmodx>
#include <amxmisc>

new g_iAliveTNum

public plugin_init() 
{
    
    
set_task(0.1"No_T"___"b")
}


public 
No_T()
{

    
g_iAliveTNum GetAlivePlayersNum(CsTeams:TEAM_TERRORIST)
    
    if (
g_iAliveTNum >= 1)
    {
        
// what should i write here?
    
}

i want when some one join T he will immediately respawn as CT

and the code should effects only on T team Not CT or SPEC

Last edited by 1M1e; 08-09-2021 at 17:09.
1M1e is offline