Spawning vehicles in interiors (such as 8-track)
#1

Ya hi ok so im asking how would you make a script that spawns a car in an interior world? For example, how to spawn a hotring racer in the 8-track stadium in los santos. In grand larceny btw. Please and thanks
Reply
#2

SetPlayerVirtualWorld(playerid,1);
SetPlayerVirtualWorld(playerid,2);
SetPlayerVirtualWorld(playerid,3);

With this u cannot see World 1 car in world 2 , in which world u spawn a car u must be in that world to see that car
Reply
#3

https://sampwiki.blast.hk/wiki/LinkVehicleToInterior
https://sampwiki.blast.hk/wiki/SetVehicleVirtualWorld

Hah! IstuntmanI, I beat you.
Reply
#4

https://sampwiki.blast.hk/wiki/LinkVehicleToInterior

EDIT: Lol RealCop. ;P
Reply
#5

ya this is great help thanks guys but when im adding the static vehicle i dont know what x, y, and z coordinates to put
Reply
#6

Go into the interior that you want, get into the vehicle that you want, and type /save. It will print those coordinates in a file called "rawvehicles.txt" inside of the SAMP folder in your documents IIRC. I haven't used static vehicle spawns in a LONG time.
Reply
#7

see thats the problem i cant get into the vehicle while im in an interior because there are no vehicles, thats what im trying to add
Reply
#8

IIRC, the fsdebug filterscript that comes with the server is able to spawn cars in interiors.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)