08.02.2018, 14:30
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]);