SA-MP Forums Archive
Spawning vehicle while in 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: Spawning vehicle while in Class selection (/showthread.php?tid=96160)



- Vollzeitfan - 06.09.2009

Hi, I need some help with my script.
I wan't some vehicles to spawn while (or before) the player is in the class selection, so that he can see the vehicle and himself beside it. I tried AddStaticVehicle in the OnGameModeInit Callback, but it spawned the vehicle after I spawned...
Is it possible

I found out, that the vehicles are visible, when at least one player spawned before. But it's a problem for the first player...
any solutions?


Re : Spawning vehicle while in Class selection - Habdel - 13.05.2012

anyone know? Sorry for bumping, i got the same problem. Vehicles are not visible in SetupForClassSelection


Re: Spawning vehicle while in Class selection - Face9000 - 13.05.2012

I don't think it's possible,but you can put the player in vehicle after he spawn.


Re: Spawning vehicle while in Class selection - ReneG - 13.05.2012

With the new camera movement functions, and the functionability of clickable textdraws, you can pretty much make your own class selection.