SA-MP Forums Archive
Cars VC and LC - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP DL Edition (https://sampforum.blast.hk/forumdisplay.php?fid=92)
+--- Forum: SA-MP 0.3.DL (https://sampforum.blast.hk/forumdisplay.php?fid=90)
+--- Thread: Cars VC and LC (/showthread.php?tid=646720)



Cars VC and LC - EmpireSk - 22.12.2017

Hi guys....
How to Add Cars......??

PHP Code:
SetVehicleVirtualWorld(vehicleidworldid); 
LinkVehicleToInterior(vehicleidinteriorid
besides those two, do I have to add something else?
Whether these maps work as VirtualWorld..?


Re: Cars VC and LC - Alex Magaсa - 22.12.2017

Vehicles are not supported yet in San Andreas Multiplayer neither were added in SA:MP 0.3.8.


Re: Cars VC and LC - Fairuz - 22.12.2017

Quote:
Originally Posted by Alex Magaсa
View Post
Vehicles are not supported yet in San Andreas Multiplayer neither were added in SA:MP 0.3.8.
You don't understand..
He wants to spawn cars on VC and LC..


Re: Cars VC and LC - EmpireSk - 22.12.2017

Yes....

Create a car via CreateVehicle and it does not show me in the log it is written that it is recorded on the servers


Re: Cars VC and LC - Alex Magaсa - 23.12.2017

Quote:
Originally Posted by Dice_
View Post
You don't understand..
He wants to spawn cars on VC and LC..
He wasnt so specific to his point xD i am not going to smell my fingers to guess people's issues.


OP: You can use filterscripts to dynamic create cars in-game or just use functions such as:

https://sampwiki.blast.hk/wiki/CreateVehicle (function)
https://sampwiki.blast.hk/wiki/AddStaticVehicle (function)

https://sampforum.blast.hk/showthread.php?tid=603456 (car spawner)


Re: Cars VC and LC - loooove - 26.12.2017

#define LC2SA4SAMP_VWORLD 696968
#define VC2SA4SAMP_VWORLD 696967

new car = AddStaticVehicle(411,5017.89203, 834.71497, 11.0, 0.0, 5, 4);
LinkVehicleToInterior(car, 0);
SetVehicleVirtualWorld(car, 696968 or 696967);