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

Check for Tournament Team Name & State Change


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
DJ Data
SourceMod Donor
Join Date: Dec 2012
Location: Switzerland
Old 12-14-2014 , 16:47   Check for Tournament Team Name & State Change
Reply With Quote #1

Hey,

I'd like to know how to check if a player has changed the team from not ready to ready (vice versa), and also if he changed the name.

Ultimately I want to disable them from changing the state and team name until a certain variable returns true.

Is an event fired when the name is switched or how does that work?
I've heard of
Code:
GameRules_SetProp("m_bTeamReady", 1, .element=i);
However, I'm uncertain how to apply it to this situation.
Cheers!
__________________
SourcePawn Coding Level: Novice
DJ Data 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 22:04.


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