SA-MP Forums Archive
Car in other virtual worlds? - 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: Car in other virtual worlds? (/showthread.php?tid=298354)



Car in other virtual worlds? - XCarBOn - 20.11.2011

Any possibility to spawn cars in another virtual world than 0? I tried but it won't work -.-*

Thanks in advance!


Re: Car in other virtual worlds? - SmiT - 20.11.2011

SetVehicleVirtualWorld example:

pawn Код:
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



Re: Car in other virtual worlds? - XCarBOn - 20.11.2011

That easy? Thanks

Man, that's embarrassing for me xD