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

Solved respawn as CT


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
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
 



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 14:33.


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