SA-MP Forums Archive
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=483711)



ForceClassSelection - Blackazur - 27.12.2013

Hello, how should i use it correctly? Just ForceClassSelection(playerid); without the TogglePlayerSpectating thing?


Re: ForceClassSelection - Threshold - 27.12.2013

Have you read the wiki at all?
Quote:
Originally Posted by SA-MP Wiki
Important Note: The player will not return to class selection until they re-spawn. This can be achieved with TogglePlayerSpectating, as seen in the below example.
pawn Код:
ForceClassSelection(playerid);
SpawnPlayer(playerid);