Modifying class selection
#1

I'm currently working on a team deathmatch mission.
Basically, my classes are Grove, Ballas or whatever, but I'm here to ask if there's a way to modify the class selection, as if an administrator starts some sort of team mission, everyone gets forced into class selection and can choose out of 4 skins, two for cops and two for criminals.
Can you modify it without having to switch a game mode?
Reply
#2

Well, to force a player into class Selection, use
Код:
new i;
for(i=0;i<MAX_PLAYERS;i++)
{
  ForceClassSelection(i);
}
I didn't understand the rest of your query.
Reply
#3

You also have to kill the player for ForceClassSelection to work, ie, SetPlayerHealth(i, 0);

I'm unsure if you can edit the classes available in the Class Selection, I'm afraid.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)