Posts: 203
Threads: 55
Joined: Jul 2009
Reputation:
0
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
Posts: 1
Threads: 0
Joined: May 2010
Reputation:
0
//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