how to make class spawn? - 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 make class spawn? (
/showthread.php?tid=294846)
how to make class spawn? -
niels44 - 03.11.2011
hey guys i made some classes in my script but now i want to make it that each class spawns somewhere else after u chose ur class but how to make this... and i want for the police class a random spawn of the 3 plice departments but how to make this... pls help
Re: how to make class spawn? -
Stigg - 03.11.2011
Try:
http://forum.sa-mp.com/showthread.ph...ht=class+spawn
Should help you get started.
Re: how to make class spawn? -
niels44 - 03.11.2011
ah and how to make a /reclass command?
Re: how to make class spawn? -
grand.Theft.Otto - 03.11.2011
pawn Код:
if(!strcmp(cmdtext, "/reclass", true, 8 ))
{
ForceClassSelection(playerid);
SetPlayerHealth(playerid,0);
SendClientMessage(playerid,-1,"Returning To Class Selection ... Please Wait.");
return 1;
}