Cars VC and LC
#1

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..?
Reply
#2

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

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..
Reply
#4

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
Reply
#5

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)
Reply
#6

#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);
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)