SA-MP Forums Archive
how to not start playerrequest class until enters deathmatch - 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: how to not start playerrequest class until enters deathmatch (/showthread.php?tid=497428)



how to not start playerrequest class until enters deathmatch - daminOwens - 26.02.2014

i want to set up a TDM where once you enter the command say /dm it will ask you to choose from class , i have the rest figured out but when i start my freeraom GM, with the TDM filterscript it does OnPlayerRequestClass as you enter the server not once command /dm is done ? tried seraching around looking at a few scripts but not seeing what im looking for any guidance would be sweet


Re: how to not start playerrequest class until enters deathmatch - LocMax - 26.02.2014

when player does /dm do ForceClassSelection(playerid);, set his health to 0 and then when he chooses class TP him into DM area


Re: how to not start playerrequest class until enters deathmatch - daminOwens - 26.02.2014

sweet thanks man im sure that will do it


Re: how to not start playerrequest class until enters deathmatch - Blademaster680 - 26.02.2014

Why dont you just give them the class selection screen under public OnPlayerConnect(playerid) rather?