Cars Re-Spawn Problem. Please help me fix this. - 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: Cars Re-Spawn Problem. Please help me fix this. (
/showthread.php?tid=389670)
Cars Re-Spawn Problem. Please help me fix this. -
jakejohnsonusa - 03.11.2012
On my GM the cars that are moved from their regular spawn points and then left for a few seconds re-spawn? Why does this happen? How can I fix this? It's not very RP when a Firetruck at an accident dissapears during RPing of the accident :/
Please & Thanks: jakejohnsonusa
Re: Cars Re-Spawn Problem. Please help me fix this. -
KevinPRINCE - 03.11.2012
More Detail on what happens
Re: Cars Re-Spawn Problem. Please help me fix this. -
Glad2BeHere - 03.11.2012
dont spam man i replied to the other one
Createvehicle(id,x,y,z,a,c1,c2,-1) change the respawn time 2 -1 so vehicle only respawn when they are destroyed
Re: Cars Re-Spawn Problem. Please help me fix this. -
jakejohnsonusa - 03.11.2012
So here is an example of one:
fdcar[3] = AddStaticVehicleEx(407,1946.2985,-1874.3608,13.7287,270.0000,-1,-1,100); // Firetruck 1
How do I fix this?
Re: Cars Re-Spawn Problem. Please help me fix this. -
Glad2BeHere - 03.11.2012
change 100 to -1
100 = if no player is in the vehicle for 100 seconds it will respawn
Re: Cars Re-Spawn Problem. Please help me fix this. -
jakejohnsonusa - 03.11.2012
Wow thank you so much for that, that really helps. +1 Rep Given.
Thank you: jakejohnsonusa