how to end gm
#6

Quote:
Originally Posted by Sew_Sumi
Посмотреть сообщение
If you look in the various examples in the server package (In particular manhunt.pwn) it shows exactly how to do this.

When you are looking at doing things like this you need a timer, you need to use that timer to countdown to the restart time, then when the restart hits, restart the round, or the server, depending on your actual target.

GamemodeExit and timers are what you want to look at, as well as the manhunt.pwn.

When you execute GamemodeInit it will switch to the next gamemode in the list, or it will go with the GM listed. It does however cause bugs to happen with the client, such as appearing to be banned, when they aren't.



It all depends on whether you are wishing to simply end the round, respawn the vehicles and reset player scores, or whether you really are wanting to restart the server entirely.
i understood a lil bit ty bro i will try and let u know
Reply


Messages In This Thread
how to end gm - by Owen007 - 22.06.2016, 12:22
Re: how to end gm - by Owen007 - 22.06.2016, 14:01
Re: how to end gm - by Sew_Sumi - 22.06.2016, 14:43
Re: how to end gm - by Owen007 - 22.06.2016, 17:29
Re: how to end gm - by Sew_Sumi - 22.06.2016, 17:38
Re: how to end gm - by Owen007 - 22.06.2016, 17:59
Re: how to end gm - by Sew_Sumi - 22.06.2016, 20:22

Forum Jump:


Users browsing this thread: 1 Guest(s)