26.03.2015, 11:47
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
is maybe this work
if(GetVehicleModel(GetVehicleTrailer(vehicleid)) == 584)
pawn Код:
if(IsTrailerAttachedToVehicle(584))
if(GetVehicleModel(GetVehicleTrailer(vehicleid)) == 584)