[UNSOLVED] Automatic Car Respawn
#1

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
Reply
#2

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

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...
Reply
#4

https://sampwiki.blast.hk/wiki/SetTimer
https://sampwiki.blast.hk/wiki/SetVehicleToRespawn
Reply
#5

//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
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)