How to force a class toplayer? please
#1

Generally,players after enter the server,need press a key to select a class.
But now i want to force players select a class, please teel me how?
THX a lot.
Reply
#2

SetSpawnInfo might be the function you're looking for.

If you mean forcing BACK into the class selection, check ForceClassSelection.
Reply
#3

No No No
I thought it can auto select a class when players connect.
Reply
#4

pawn Код:
public OnPlayerConnect(playerid) {
     SetPlayerHealth(playerid,0);
     SpawnPlayer(playerid);
     return 1;
}
not tested.
Reply
#5

Tested,do this will kill the player when he select class.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)