SA-MP Forums Archive
Vehicles in class selection not showing - 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: Vehicles in class selection not showing (/showthread.php?tid=435043)



Vehicles in class selection not showing - Bobakrome - 05.05.2013

Oh hello, this is my first post here, even if I play SA:MP daily, I just raid this forum. Anyway,
I'd want vehicles to show also in the Class Selection mode, seems they doesn't show.

In class selection: http://i.imgur.com/GpIwL5c.jpg
After spawn: http://i.imgur.com/RpVyTS8.jpg

Any ideeas?
On topic: AddStaticVehicleEx is in OnGameModeInit Callback.


Re: Vehicles in class selection not showing - IceCube! - 05.05.2013

You've most likely placed your class selection in a different Virtual World to prevent people seeing Class Selections whilst playing.

SetPlayerVirtualWorld(playerid, worldid);


Re: Vehicles in class selection not showing - Kyle - 05.05.2013

This is a known intentional SA-MP Feature.

To get them to show you must PutPlayerInVehicle as the passenger for all the vehicles you want streaming, then set their class selection position.


Re: Vehicles in class selection not showing - Bobakrome - 05.05.2013

Quote:
Originally Posted by IceCube!
View Post
You've most likely placed your class selection in a different Virtual World to prevent people seeing Class Selections whilst playing.

SetPlayerVirtualWorld(playerid, worldid);
Oh dam, yeah. That's right! How couldn't I have tought about that.. lol.. thanks.


Re: Vehicles in class selection not showing - Kyle - 05.05.2013

Quote:
Originally Posted by Bobakrome
View Post
Oh dam, yeah. That's right! How couldn't I have tought about that.. lol.. thanks.
This won't work lol.