Is it possibleto add cars in dif 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Is it possibleto add cars in dif virtual worlds (
/showthread.php?tid=273363)
Is it possibleto add cars in dif virtual worlds -
jueix - 01.08.2011
ok so im making a game mode where 1 vvirtual world = stunting and the other = zombies. In the zombie one no objects appear but i need only the cars to appear so the drivers can get away from zombies. Im wondering how will i make the cars spawn in the virtual world
Re: Is it possibleto add cars in dif virtual worlds -
Jeffry - 01.08.2011
pawn Код:
SetVehicleVirtualWorld( AddStaticVehicle(model, x, y, z, rot, color1, color2) , World);
or:
pawn Код:
new vehicle = AddStaticVehicle(model, x, y, z, rot, color1, color2);
SetVehicleVirtualWorld( vehicle , World);
Which is both the same.
Jeffry
Re: Is it possibleto add cars in dif virtual worlds -
jueix - 01.08.2011
thanks