SA-MP Forums Archive
Car Respawn Help - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Car Respawn Help (/showthread.php?tid=221407)



Car Respawn Help - Almog - 05.02.2011

Hello i need Car Respawn With timer of 10 seconds means that there is another car seconds Reset


Re: Car Respawn Help - HyperZ - 05.02.2011

You wan this?:https://sampwiki.blast.hk/wiki/AddStaticVehicleEx


Re: Car Respawn Help - Matej_ - 05.02.2011

pawn Код:
// On top of the script ...
forward CarRespawn();


public OnGameModeInit()
{
    SetTimer("CarRespawn",10000,false);
}

// Put this anywhere you want ...
public message()
{
    for(new i = 0; i < MAX_VEHICLES; i++)
{
    SetVehicleToRespawn(i);
}