needed help with attachvehicle - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: needed help with attachvehicle (
/showthread.php?tid=264069)
needed help with attachvehicle -
speediekiller3 - 24.06.2011
how can i make a attach vehicle FS for the flatbed
uses right ctrl
?
pls a small code for this
thnx for helping
Re: needed help with attachvehicle -
Ash. - 24.06.2011
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.
Re: needed help with attachvehicle -
boelie - 24.06.2011
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..
Re: needed help with attachvehicle -
speediekiller3 - 24.06.2011
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
Re: needed help with attachvehicle -
boelie - 24.06.2011
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)
Re: needed help with attachvehicle -
=WoR=Varth - 24.06.2011
I can attach infernus to my infernus without any include <except a_vehicles> or add-on.
pawn Код:
AttachTrailerToVehicle(trailerid, vehicleid);