Vehicle respawns - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Vehicle respawns (
/showthread.php?tid=326019)
Vehicle respawns -
Dripac - 15.03.2012
1) If adding AddStaticVehicle, the respawn time is set automaticly by samp team, but how long does it take to respawn?
2) Respawn_delay is in seconds at AddStaticVehicleEx, right?
Re: Vehicle respawns -
Richie© - 15.03.2012
1: i dont know.
2: If you read wiki, it says: respawn_delay The delay until the car is respawned without a driver in minutes.
Re: Vehicle respawns -
antonio112 - 15.03.2012
Quote:
Originally Posted by Dripac
1) If adding AddStaticVehicle, the respawn time is set automaticly by samp team, but how long does it take to respawn?
2) Respawn_delay is in seconds at AddStaticVehicleEx, right?
|
Setting the "Respawn Delay" in AddStaticVehicleEx, at last parameter, is something else. It means respawning the vehicle if it has no driver in minutes.
according to sa-mp wiki:
Код:
respawn_delay The delay until the car is respawned without a driver in minutes.
So, to answer your questions:
1. The vehicle respawns automatically after 'death'. It doesn't respawn if there's no driver in it.
2. Respawn_delay is in minutes.
AW: Vehicle respawns -
Dripac - 15.03.2012
I set the respawn_delay to 1 minute just to test, the vehicles won't respawn
//edit nvm i got it, it's in seconds
Re: AW: Vehicle respawns -
antonio112 - 15.03.2012
Quote:
Originally Posted by Dripac
I set the respawn_delay to 1 minute just to test, the vehicles won't respawn
//edit nvm i got it, it's in seconds
|
Are you sure ? Maybe the sa-mp wiki is wrong ? Possible ...
Re: AW: Vehicle respawns -
Dripac - 15.03.2012
Quote:
Originally Posted by antonio112
Are you sure ? Maybe the sa-mp wiki is wrong ? Possible ...
|
Yeah, i just set the time to 1, and now after i exit the vehicle it directly dissapears, same with 20(just dissapears if i leave the vehicle after 20 seconds)
Re: Vehicle respawns -
Twisted_Insane - 15.03.2012
Of course it's in seconds! Oh guys...
Re: Vehicle respawns -
antonio112 - 15.03.2012
Quote:
Originally Posted by Twisted_Insane
Of course it's in seconds! Oh guys...
|
Oh really? Of course ... Read sa-mp wiki:
https://sampwiki.blast.hk/wiki/AddStaticVehicleEx
Re: Vehicle respawns -
Vince - 15.03.2012
Quote:
Originally Posted by antonio112
|
Fixed. It is in fact seconds. Please bear in mind that most of the wiki is still created and edited by users.
Re: Vehicle respawns -
antonio112 - 15.03.2012
Quote:
Originally Posted by Vince
Fixed. It is in fact seconds. Please bear in mind that most of the wiki is still created and edited by users.
|
Great, thanks. Well, I know ... but I stated where I knew from it was in minutes. Since I saw it was clearly stated that it's in minutes, I took it on good.