Help Me Auto Respawn Cars Vehicles

Started by =RK=MarineForce, Jul 29, 2017, 05:00 AM

Previous topic - Next topic

=RK=MarineForce

Give me Fucntion

Fucnton on vehicles auto re spawn

??? HELP

IN A/D

Xmair

vehicle.Respawn( );
vehicle.RespawnTimer = ms;

Credits to Boystang!

VU Full Member | VCDC 6 Coordinator & Scripter | EG A/D Contributor | Developer of VCCNR | Developer of KTB | Ex-Scripter of EAD

KAKAN

I guess he wanted a callback to be received when a vehicle is successfully respawn'd
oh no

Xmair

function onVehicleRespawn( vehicle )

Credits to Boystang!

VU Full Member | VCDC 6 Coordinator & Scripter | EG A/D Contributor | Developer of VCCNR | Developer of KTB | Ex-Scripter of EAD

Thijn

Junk removed. Try to explain what you want so people can help you.

=RK=MarineForce

function onVehicleRespawn( vehicle )
vehicle.Respawn( );
vehicle.RespawnTimer = ms;
}

Bro this is not working my server is error Show :

Javed Ahmadzai

function onVehicleRespawn( vehicle ) {
vehicle.Respawn( );
vehicle.RespawnTimer = 6000;
}

MS = Mili Seconds

KAKAN

Quote from: bhaiok on Aug 01, 2017, 02:09 AMBro this is not working my server is error Show :
It shouldn't as well. It makes an infinite loop.
What I guess you're looking for is for setting respawntimer for every vehicle. It can be done using a loop.
function vehrespawn(ms){
for( local veh, i = 1; i <= 1000; i++ ){
veh = FindVehicle(i);
if( !veh ) continue;
veh.RespawnTimer = ms;
//Respawn them once.
veh.Respawn();
}
}
oh no

=RK=MarineForce

bro-you-can-give-A/D-Check-Point-but-i-can't-see-marker-in-map-checkpoint

Xmair


Credits to Boystang!

VU Full Member | VCDC 6 Coordinator & Scripter | EG A/D Contributor | Developer of VCCNR | Developer of KTB | Ex-Scripter of EAD

=RK=MarineForce

xamir-bro-but-me-need-make-a/d :'(

auto"Fucntion"this"is"last"broken

DizzasTeR

Bhenchod urdu/hindi mein bhonko kis cheez k leye hath phela rahe ho bharway.

Since its pointless to approach him in English