SA-MP Forums Archive
[UNSOLVED] Automatic Car Respawn - 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: [UNSOLVED] Automatic Car Respawn (/showthread.php?tid=115591)



[UNSOLVED] Automatic Car Respawn - Nameless303 - 24.12.2009

Hi,
I need a automatic car respawn script... Im trying to make it myself but I duno all the functions I need...
I already made a timer and a new function...

Thanks



Re: [UNSOLVED] Automatic Car Respawn - FireFox_ - 24.12.2009

You can just use https://sampwiki.blast.hk/wiki/CreateVehicle


Re: [UNSOLVED] Automatic Car Respawn - Nameless303 - 24.12.2009

Quote:
Originally Posted by <Krys>
But the problem is that I own a steal the plane server.. And the people start pushing(not flying) planes in the water so the other team can't steal them... So I wan't to respawn them to get the out of the water...


Re: [UNSOLVED] Automatic Car Respawn - dice7 - 24.12.2009

https://sampwiki.blast.hk/wiki/SetTimer
https://sampwiki.blast.hk/wiki/SetVehicleToRespawn


AW: [UNSOLVED] Automatic Car Respawn - jason johnson - 13.04.2012

//Car Respawn by Jason

#include <a_samp>
forward CarRespawn();

#if defined FILTERSCRIPT

public OnFilterScriptInit()
{
SetTimer("message", 1800000, false);//ENG: 30 Min Timer / GER:30 Minuten Timer
print("Automatic Car Respawn by Jason.J (Jason Stylezz)");
return 1;
}

public OnFilterScriptExit()
{
return 1;
}

public CarRespawn()
{
for(new i = 0; i < MAX_VEHICLES; i++)
{
SetVehicleToRespawn(i);
}
print("Automatic CarRespawner: Car Respawnt!");
}

#else
#endif

>>UNTESTED<< in GERMAN AND ENGLISH