What triggers class selection? - 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: What triggers class selection? (
/showthread.php?tid=309702)
What triggers class selection? -
Scarred - 08.01.2012
In my mode, when a player dies, they are sent to the class selection - I would like to just skip this entire process, and spawn them..
What's wrong with it? It logs them in, sets their spawn info, then I use SpawnPlayer(..) to spawn them, this should in no way send them to the class selection, however, it does.
Re: What triggers class selection? -
Scarred - 08.01.2012
So, Spawning the player is not a good idea? That's a problem, lol. I've seen scripts where it has worked consistently, and I've had a few myself, but I don't have the source to look at from those; nor have I ever had a script of this mass before.
Re: What triggers class selection? -
Scarred - 08.01.2012
Quote:
Originally Posted by ******
Basically, you just need to constantly respawn the player at the right spots. More than that I can't tell you as I said, I've not fully figured it all out.
|
Alright, thanks. I'll let you know if I find out anything more on this matter.