Trailers
#1

Is there anyway to make trailer non attachable to truck. So it wont attach automatically? I know that i can check if someone attaches trailer to truck and then detach. But is there a way to just disable it?
Reply
#2

I would check if someone attempts to attach a trailer like you said and if it returns true then use https://sampwiki.blast.hk/wiki/DetachTrailerFromVehicle right away if you dont want the functionality to be enabled yet (or at all)
Reply
#3

In Addition to detaching the trailer, return false on the callback. As a result, other players wont receive an update about it.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)