join team event
is there an event for joining a team? like if someone joins t or ct?
|
"TextMsg"
ok I found that event and I can check if a player joins t or ct...but is there anyway to check to see if they have chosen a model for t or ct before I spawn them? because if I just register the event with them picking t or ct then if they arn't fast enough they will respawn without picking a model and be in counter-strike limbo :? |
What is this for? Ive edited a plugin for someone that fixed the respawn bug that they dont get respawned. and it doesnt do it till they have chosen a team. but its not a specific event.
|
well I'm looking for a regular respawn plugin that will not only respawn people when they die but also respawn them when they join the server after they pick a team...so far I dont see any that actually work without somekind of timer...like what if someone went spectator but then joined a team later on...I would like something that will be nice and reliable so that I can always know that with respawn on everyone is alive if they want to be
|
From the Team Locker plugin by bardelot (ported by karamellz):
Code:
|
What about for class select? ;)
|
thats going to be the same as the "TextMsg" event telling me when they join a team but not when they pick a skin or class or whatever and are ready to spawn :?
does anyone know what cs_get_user_model returns if they haven't picked one yet? :P |
Code:
And I've already done what you're looking to do. |
ahh then what do you do in the join_respawn function? just have a timer and spawn them?
|
Here's the exact way I used it:
Code:
Code:
Code:
It's actually taken partly from Geesu's Respawn Forever, but the joining on connect was added by me. |
| All times are GMT -4. The time now is 14:24. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.