Not attatching
#1

Код:
trailer = CreateVehicle(450, -1658.2975, 35.4623, 3.7277, 198.6108, 0, 1, 6000);//////////ZVYRAS
AttachTrailerToVehicle(trailer, vehicleid);
And i don't get attatched a trailer ? what is wrong ? i try attatch trailer to truck
Reply
#2

Edit: nevermind.
Hint: code in English.
Reply
#3

You have to use it like this:
pawn Код:
new vehicleid = CreateVehicle(...);
new trailerid = CreateVehicle(...);
 
AttachTrailerToVehicle(trailerid, vehicleid);
Reply
#4

And where are you using "AttackTrailerToVehicle"?
Reply
#5

I am using this code when i get on a chechpoint, and i need to attatck a trailer to truck
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)