Team join actions...
Hey there... got a problem with understanding of team join action!
If i do this: Code:
case 0: // Join NC (Terrorists)Code:
case 0: // Join NC (Terrorists)Code:
public task_JoinTeam( id )By the way, i need it also for the "Auto Team" function, but these class isn't addet at this time, my question: Is it case 4 or case 5?! Case 5 didnt work with this function i loose identation... Thanks for any kind of response! Didn't work realy... at the scoreboard im in the CT Team but at the Game itself ive to wait for the roundend and then i fall down at the camera spots of spectator! What is this?! I tought if i use this i will put into the ct team and ... damn -.-' |
Re: Team join actions...
Why do you start at case 0?
Try starting at case 1. |
Re: Team join actions...
show the whole code. Specifically the function in which the switch statement is in. and the task.
EDIT: also note the team constants. These are consistent with get_user_team even if not called from the cstrike module Code:
//Team Constants: |
Re: Team join actions...
I think the reason ist that the creator of this plugin don't want to set the teamjoin at 1... when you chosen the TerrorTeam...
Code:
public TeamSelectMenu_Handler( id, iKey )So i think the creator thougt mhm block the team with a 0 and so its ever false, but its buggy becase if you use the terrorist team you have to reconnect and go to ct first then the gameplay starts! If you dont reconnect and just go to CT you just came into the game and nothing else happens... @ Liverwiz Nothing like this what you add, just this here: Code:
#define TEAM_MENU "#Team_Select"I also know in another plugin like this, the payers connect and dont get any menu, they just join the ct team automatic, there is no menu available. But i need the menu to give the player the chance to go spec when there is a cheater online to record and also report him to us! To set it to "case 1" don't work, it brokes the team join action, if it set to 1 you can just join spectator nothing else... Ive tried to fix it in the CountTeams function too, but nothing happens than before where i set "case 0" to "case 1" |
| All times are GMT -4. The time now is 15:10. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.