22.03.2017, 23:12
Uh, Please elaborate more on your problem when the vehicle re - spawns are you in it or not? Do you use a command to re spawn them? Say something. Though SetVehicleToRespawn may work in your favor i just need to know what's your problem.
Or do some debug if you destroy it with (a) weapon(s) to see what's going on.
PHP код:
public OnVehicleDeath(vehicleid, killerid) {
printf("Vehicle ID: %i Destroyed." vehicleid);
return true;
}
public OnVehicleSpawn(vehicleid) {
printf("Vehicle %i spawned!", vehicleid);
return true;
}