Raised This Month: $ Target: $400
 0% 

Plugin doesnt register event.


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
drekes
Veteran Member
Join Date: Jul 2009
Location: Vault 11
Old 01-07-2011 , 16:10   Re: Plugin doesnt register event.
Reply With Quote #8

That's because at roundstart you set the bool true, but you don't use it until a player changes team.
The code only sets the player to CS_TEAM_T if there is more then 1 terrorist at the moment a player switches team.

What you need to do is make a new function that holds the code to change a player's team.
And at roundstart and the TeamInfo event check if there is more then 1 T, if so call the function.
__________________

Quote:
Originally Posted by nikhilgupta345 View Post
You're retarded.
drekes is offline
Send a message via MSN to drekes
 



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 02:10.


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