Hi,
I'm trying to ensure vehicles will always respawn if they are destroyed, but I'm not familiar enough with SQL to 'say' it correctly. Here's what I have;
Can I then ensure that this will run either before each restart or once every 6 hours?
Thanks
I'm trying to ensure vehicles will always respawn if they are destroyed, but I'm not familiar enough with SQL to 'say' it correctly. Here's what I have;
Code:
UPDATE 'instance_vehicle'
SET 'damage' = 0, 'worldspace' = 'worldspace'.'world_vehicle', 'inventory' = 'inventory'.'world_vehicle'
WHERE 'damage' = 1
AND 'world_vehicle_id' = 'world_vehicle'.'vehicle_id';
Can I then ensure that this will run either before each restart or once every 6 hours?
Thanks