Posts: 211
Threads: 40
Joined: Oct 2009
Reputation:
0
I wanted to kame a command like this .... /reclass teamB and you will spawn as a teamB player ? Can anyone help me ?
And another question .. how to make a team balancer like ... [SERVER]:teamB is not avaliable . You will spawn as teamA ... (only if you press shift you will spawn as teamA )
So can anyone help me ?
Posts: 96
Threads: 10
Joined: Nov 2009
Reputation:
0
um u could do a like a
strcmp blah blah /reclass teamb
go gTeam[playerid] = TEAM_GROVE;
and also set player skin to whatever it is.
u could also respawn the player and then all the correct adjustments will be changed.
um.. the team balancer u need to a way to find out how many people are on the team. idk really know that or the shift thing sorry.
good lick,
ray
Posts: 211
Threads: 40
Joined: Oct 2009
Reputation:
0
the code didnt work ... it just respawned the player .... same skin ... same things .. same spawn .. and same everything ..
Posts: 96
Threads: 10
Joined: Nov 2009
Reputation:
0
omg you werent meant to copy that code. it was a guide. some things require capital letters and so on.. o thought u knew how to script a bit.
Posts: 96
Threads: 10
Joined: Nov 2009
Reputation:
0
idk, this was more a suggestion, go to the fuction list and select their SetPlayerSkin and do what they want in the brackets, otherwise send player back to class selection on death.