SA-MP Forums Archive
how? - 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: how? (/showthread.php?tid=326433)



how? - TouhGear - 17.03.2012

How make this? When i restart server, when server is up then all cars respawn automatical.


Re: how? - John Rockie - 17.03.2012

They should be able to respawn to the place you have them at.


Re: how? - TouhGear - 17.03.2012

what i do?


Re: how? - RicaNiel - 17.03.2012

it's automatic


Re: how? - TouhGear - 17.03.2012

Код:
public OnGameModeInit()
{
   SetVehicleToRespawn();
}
?
Now respawn all cars automatically after restart server?


Re: how? - ReneG - 17.03.2012

Unless you are loading vehicles from an .ini file, cars will automatically respawn.


Re: how? - TouhGear - 17.03.2012

I load vehicle from database.


Re : how? - KeeDee - 17.03.2012

I Don't know but each server, when you was /rcon gmx, or W/e the car was respawning automaticly.


Re: how? - ReneG - 17.03.2012

Then there is something wrong within your implementation of the saving of vehicle positions.


Re: how? - TouhGear - 17.03.2012

i make vehicle number plate system, i need a system or function, when i restart server then cars respawn automatic, because then number plate work and i dont have respawn all cars in command.