Raised This Month: $ Target: $400
 0% 

[HELP] if player change team.....


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
yas17sin
Veteran Member
Join Date: Oct 2016
Location: Morocco/Sale
Old 02-26-2017 , 16:47   [HELP] if player change team.....
Reply With Quote #1

Hi i need help about this :
I have a plugin and i want it to work only with CT.
Because i have every 3 rounds the team switch and if the player have the item he just keep it.
I want it to get remove from the player when the his team switch to T and then give him back when he is CT and keep happing that way.

I did try this but didn't work :
PHP Code:
public FwdPlayerSpawnPost(id)
{
    if(
cs_get_user_team(id) == CS_TEAM_T )
    {
        
g_KNIFE[id] = false
        g_hasSpeed
[id] = false
    
}

yas17sin is offline
Send a message via ICQ to yas17sin
 



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 20:54.


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