Posts: 449
Threads: 125
Joined: Apr 2013
Reputation:
0
I want to make a truck sistem like this:
Player enter truck: checkpoint appear , player go with the truck into the checkpoint and then a TRAILER spawns and FALLS down from the sky and auto-attach to the vehicle.
How to do this ? What to use ?
Thanks! REP !!!
Posts: 449
Threads: 125
Joined: Apr 2013
Reputation:
0
And how to destroy the trailer and the truck if player exit vehicle?
Thanks!
Posts: 449
Threads: 125
Joined: Apr 2013
Reputation:
0
i tried guys but nothing happens.
I modified the code a little bit because my vehicles are loading from MYSQL , AttachTrailerToVehicle(450, 249);
where 249 = VehicleID from MySQL but nothing happens. No trailer comes up and no trialer is attaching and i added the code with "AttachTrailerToVehicle" but seems to not work
UP!!!
Posts: 449
Threads: 125
Joined: Apr 2013
Reputation:
0
I tried a new method:
AttachTrailerToVehicle(252, 249);
252 -> TRAILER ID FROM SQL DATABASE (VehicleID)
249 -> TRUCK ID FROM SQL DATABASE (VehicleID)
But i don't want to add trailers in SQL DATABASE , i want that the code spawn trailers and auto attach them and after the transport is done the code destroys them.
Posts: 449
Threads: 125
Joined: Apr 2013
Reputation:
0
UP!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
How to spawn trailers from the game?