Posts: 22
Threads: 10
Joined: Apr 2012
Reputation:
0
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
Posts: 66
Threads: 18
Joined: Apr 2013
Reputation:
0
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
Posts: 22
Threads: 10
Joined: Apr 2012
Reputation:
0
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
Posts: 7,801
Threads: 187
Joined: Feb 2010
Reputation:
0
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.
Posts: 22
Threads: 10
Joined: Apr 2012
Reputation:
0
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
Posts: 10,066
Threads: 38
Joined: Sep 2007
Reputation:
0
IIRC, the fsdebug filterscript that comes with the server is able to spawn cars in interiors.