Restart,Respawn Cars and Players.
#1

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

https://sampforum.blast.hk/showthread.php?tid=187229
Reply
#3

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

If you know it, can you post it here now?
Reply
#5

Do you want this command to be usable only by RCON admins?
Reply
#6

Yes.
Reply
#7

Then you log into rcon, and do
Код:
/rcon gmx
That restarts the server. Then under GameModeInit() You can add
Код:
SendRconCommand("loadfs CHANGME");
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)