SA-MP Forums Archive
reclass help - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: reclass help (/showthread.php?tid=267659)



reclass help - RowdyrideR - 09.07.2011

hi guys..

i wanna know how to:
when someone dies, he get back to the "RequestClass" so he's able to choose a new team!
Thx guys..

and if you know "how to Prevent him from choosing the same team">> but this's not important!

Thx alooooooooooot!!


Re: reclass help - Sascha - 09.07.2011

https://sampwiki.blast.hk/wiki/ForceClassSelection

ForceClassSelection at OnPlayerDeath


Re: reclass help - RowdyrideR - 09.07.2011

i tried it but didnt work!!
Can you make it?


Re: reclass help - [MG]Dimi - 09.07.2011

https://sampwiki.blast.hk/wiki/ForceClassSelection

and for other one make array/variable to prevent them from spawning in same team

EDIT: You must add
PHP код:
SetPlayerHealth(playerid,0); 
after
PHP код:
ForceClassSelection(playerid); 



Re: reclass help - RowdyrideR - 09.07.2011

oh thhhx it worked