Restart,Respawn Cars and Players. - 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: Restart,Respawn Cars and Players. (
/showthread.php?tid=288602)
Restart,Respawn Cars and Players. -
Sting. - 08.10.2011
I need help now with this important commands. First, I want the command to respawn players. Second, I want the command to respawn all cars. Thirdly, I want the command to restart server. But before the server restart, I want a timer like 1 minute then the Server will restart. Can anyone help me with this?
Re: Restart,Respawn Cars and Players. -
Jafet_Macario - 08.10.2011
https://sampforum.blast.hk/showthread.php?tid=187229
Re: Restart,Respawn Cars and Players. -
.:Kaos:. - 08.10.2011
Well, if you are restarting the server, all players and cars will be respawned anyway? There is a rcon gmx feature, but that won't load your filter scripts. A quick way to do this would be to do a box restart. Or, you can script it to where it loads filterscripts under GameModeInit.
Re: Restart,Respawn Cars and Players. -
Sting. - 08.10.2011
If you know it, can you post it here now?
Re: Restart,Respawn Cars and Players. -
.:Kaos:. - 08.10.2011
Do you want this command to be usable only by RCON admins?
Re: Restart,Respawn Cars and Players. -
Sting. - 08.10.2011
Yes.
Re: Restart,Respawn Cars and Players. -
.:Kaos:. - 08.10.2011
Then you log into rcon, and do
That restarts the server. Then under GameModeInit() You can add
Код:
SendRconCommand("loadfs CHANGME");