SA-MP Forums Archive
example of this ?any tuts ? - 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: example of this ?any tuts ? (/showthread.php?tid=173334)



example of this ?any tuts ? - Rocky Balboa - 02.09.2010

hmm i tried to search for a tutotrial about changing the gamemode or the spawn place after a specific time .. you know restart the server .. like the minimissions .. as it restarts after the time .. it loaded another mission .. so anyone can help me ?


Re: example of this ?any tuts ? - Rocky Balboa - 02.09.2010

What does this do ?
GameModeExit();
ok i know it exits the game mode .. what about after when it exits it .. what happens ?


Re: example of this ?any tuts ? - LarzI - 02.09.2010

What happens after? In that GM; nothing.


Re: example of this ?any tuts ? - Rocky Balboa - 03.09.2010

Quote:
Originally Posted by ******
Посмотреть сообщение
That's done in most of the original modes which come with the server - have a look in, for example, Rivershell or Area51.
The only thing i found is this ..GameModeExit();
nothing much ..


Re: example of this ?any tuts ? - Backwardsman97 - 03.09.2010

It's a custom function they put in there for the end of the game mode. You could create an array of spawn points and just keep up with what minimission you're on and spawn them accordingly.


Re: example of this ?any tuts ? - Rocky Balboa - 03.09.2010

Quote:
Originally Posted by Backwardsman97
Посмотреть сообщение
It's a custom function they put in there for the end of the game mode. You could create an array of spawn points and just keep up with what minimission you're on and spawn them accordingly.
an example ?


Re: example of this ?any tuts ? - pmk1 - 03.09.2010

why don't you use wiki.sa-mp.com Rocky? i think it will be useful for you :P


Re: example of this ?any tuts ? - Rocky Balboa - 04.09.2010

Quote:
Originally Posted by pmk1
Посмотреть сообщение
why don't you use wiki.sa-mp.com Rocky? i think it will be useful for you :P
Yea , i used wiki ...in this case it would not be taht useful though ..


Re: example of this ?any tuts ? - James124 - 04.09.2010

use timer


Re: example of this ?any tuts ? - sekol - 04.09.2010

Use timer and maybe
SendRconCommand("changemode nameofnextGM");