Posts: 62
Threads: 18
Joined: Jun 2011
Reputation:
0
Before class selection, the player choses their team (0=civi, 1=Team Blue, 2=Team Green). I used the code TeamID[playerid] = 0; to set teams. I want it where your chose of playable skins is dependant on what your team id is. If the player chose 0, they would only see and be able to chose from civillian skins. If the player is on team 1, they get some military skins, and on team 2 they would get other military skins.
Feel free to ask questions, and thanks for the help.
Posts: 1,418
Threads: 63
Joined: Dec 2010
Reputation:
0
Another way could be to make a custom class selection by spawning directly the player with SpawnPlayer and then moving him to a specific location, freezing him, editing his camera position and rotation, adding "next" and "previous" textdraws that can be clicked to change class, and detecting left and right keys to do the same thing (additional).
It's not very hard but it takes hours.. especially for textdraws and camera positions..
Posts: 62
Threads: 18
Joined: Jun 2011
Reputation:
0
Thx [GF]Sasino97, thats a good idea. Would anyone know of someone posting a code like this that i could just edit? it would be easyer.