DestroyVehicle
#3

The array in which you stored the vehicle id in should be the same you destroy.

PHP код:
new VJob[MAX_VEHICLES];
CMD:work(....)
{
    
VJob[vehicleid] = CreateVehicle(....);
    return 
true;
}
   
// OnPlayerStateChange
DestroyVehicle(VJob[vehicleid]); 
Reply


Messages In This Thread
DestroyVehicle - by PepsiCola23 - 08.02.2018, 14:23
Re: DestroyVehicle - by JaKe Elite - 08.02.2018, 14:28
Re: DestroyVehicle - by ISmokezU - 08.02.2018, 14:30
Re: DestroyVehicle - by PepsiCola23 - 08.02.2018, 14:31

Forum Jump:


Users browsing this thread: 1 Guest(s)