PDA

View Full Version : Car in other virtual worlds?


XCarBOn
20/11/2011, 11:37 AM
Any possibility to spawn cars in another virtual world than 0? I tried but it won't work -.-*

Thanks in advance!

SmiT
20/11/2011, 11:43 AM
SetVehicleVirtualWorld (http://wiki.sa-mp.com/wiki/SetVehicleVirtualWorld) example:


new
some_car
;


some_car = AddStaticVehicle( modelid, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, color1, color2 );
SetVehicleVirtualWorld( some_car, 5 ); // virtual world 5

XCarBOn
20/11/2011, 11:47 AM
That easy? Thanks :D

Man, that's embarrassing for me xD