ForceClassSelection - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: ForceClassSelection (
/showthread.php?tid=326048)
ForceClassSelection -
new121 - 16.03.2012
Ok so I am using
pawn Код:
ForceClassSelection(i);
SetPlayerHealth(i, 0);
Is there a way I can use ForceClassSelection without killing the player? Or at least make it so they don't see themselves die?
Re: ForceClassSelection -
Krx17 - 16.03.2012
Use SpawnPlayer(playerid) instead.
Re: ForceClassSelection -
new121 - 16.03.2012
and that will send them to the class section?
Re: ForceClassSelection -
Krx17 - 16.03.2012
It should do it straight to class selection. The player won't see himself die.
Re: ForceClassSelection -
Richie© - 16.03.2012
Use TogglePlayerSpectating.
If you read the wiki and searched forceclassselection, you wouldnt need to ask here