needed help with attachvehicle
#1

how can i make a attach vehicle FS for the flatbed uses right ctrl?
pls a small code for this

thnx for helping
Reply
#2

You can't attach a vehicle to a vehicle that doesn't have a "tow bar" so to speak. You can only attach vehicles to trucks, tractors and the tow trucks.
Reply
#3

Well..theres no attachvehicle to vehicle function only attachobjecttovehicle.

it could be possible with timers and more crazy selfmade function stuff ..but that wont be
a 'small' code..
Reply
#4

ive found a script on sa-mp forum thats say that i can attach all vehicles to all vehicles but i want only the flatbat attach option and yes thats a truck
Reply
#5

then use that script and mod it

make
pawn Код:
if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 520)
somewhere in the script. (520 is hydra id, change it to flatbed)
Reply
#6

I can attach infernus to my infernus without any include <except a_vehicles> or add-on.
pawn Код:
AttachTrailerToVehicle(trailerid, vehicleid);
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)