Function like 'IsVehicleAttachedToVehicle' - 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)
+--- Thread: Function like 'IsVehicleAttachedToVehicle' (
/showthread.php?tid=316770)
Function like 'IsVehicleAttachedToVehicle' -
nuriel8833 - 08.02.2012
Is there any function that you can check if a vehicle (in this case - Oil Trailer) is attached to another vehicle (in this case - the tanker)?
Thanks 4 helping
Re: Function like 'IsVehicleAttachedToVehicle' -
Vince - 08.02.2012
IsTrailerAttachedToVehicle
Re: Function like 'IsVehicleAttachedToVehicle' -
nuriel8833 - 08.02.2012
Thanks
Re: Function like 'IsVehicleAttachedToVehicle' -
Babul - 08.02.2012
i hope your script can be modified to work in "reverse" with the
IsTrailerAttachedToVehicle, may we see some code? i bet its possible with some arrays for the tanker (like set a pvarint for the last entered vehicle or similar, and if you know the trailer vehicle, the rest is obvious ) ^^
again: why does the forum dont tell that "thre are some posts done already meanwhile"?