respawn a detachted trailer?
#7

what console prints at
PHP код:
for(new trucktrailerindex 0trucktrailerindex sizeof(TruckTrailer); ++trucktrailerindex) { 
printf("TT: %d %d"trucktrailerindexTruckTrailer[trucktrailerindex]);

?


ADD: realised that im forgot about mean of "IsTrailerAttachedToVehicle"
PHP код:
for(new trucktrailerindex 0trucktrailerindex sizeof(TruckTrailer); ++trucktrailerindex) { 
    for(new 
vehicleid 0vehicleid MAX_VEHICLESvehicleid ++) {
        if(
GetVehicleTrailer(vehicleid) == TruckTrailer[trucktrailerindex]) {
            
SetVehicleToRespawn(TruckTrailer[trucktrailerindex]);
            break;
        }
    }

Reply


Messages In This Thread
respawn a detachted trailer? - by rOps - 19.12.2016, 19:37
Re: respawn a detachted trailer? - by Konstantinos - 19.12.2016, 20:06
Re: respawn a detachted trailer? - by rOps - 19.12.2016, 20:09
Re: respawn a detachted trailer? - by Konstantinos - 19.12.2016, 20:10
Re: respawn a detachted trailer? - by Mutha_X - 19.12.2016, 20:13
Re: respawn a detachted trailer? - by rOps - 19.12.2016, 20:20
Re: respawn a detachted trailer? - by Mutha_X - 19.12.2016, 20:26
Re: respawn a detachted trailer? - by rOps - 19.12.2016, 20:31
Re: respawn a detachted trailer? - by Konstantinos - 19.12.2016, 20:42
Re: respawn a detachted trailer? - by rOps - 19.12.2016, 20:51

Forum Jump:


Users browsing this thread: 1 Guest(s)