Cheking trailer before enter cp
#1

Hello I have trailers for delivering fuels to gas stations I want know just make a check if it's a trailer id 584 which is petrol trailer attached then he get next cp if you know what I mean I was try like this and I enter in cp with attached trailer id 584 and nothing happens. Thanks

pawn Код:
if(IsTrailerAttachedToVehicle(584))
is maybe this work

if(GetVehicleModel(GetVehicleTrailer(vehicleid)) == 584)
Reply
#2

Yes that should work.
Reply
#3

So I try that and it works fine anyway thanks Aly for responding to the thread
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)