Give me Fucntion
Fucnton on vehicles auto re spawn
??? HELP
IN A/D
vehicle.Respawn( );
vehicle.RespawnTimer = ms;
I guess he wanted a callback to be received when a vehicle is successfully respawn'd
function onVehicleRespawn( vehicle )
Junk removed. Try to explain what you want so people can help you.
function onVehicleRespawn( vehicle )
vehicle.Respawn( );
vehicle.RespawnTimer = ms;
}
Bro this is not working my server is error Show :
function onVehicleRespawn( vehicle ) {
vehicle.Respawn( );
vehicle.RespawnTimer = 6000;
}
MS = Mili Seconds
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();
}
}
bro-you-can-give-A/D-Check-Point-but-i-can't-see-marker-in-map-checkpoint
Is your space key broken?
xamir-bro-but-me-need-make-a/d :'(
auto"Fucntion"this"is"last"broken
Bhenchod urdu/hindi mein bhonko kis cheez k leye hath phela rahe ho bharway.
Since its pointless to approach him in English