How To Change Game Mode On Game? - 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 To Change Game Mode On Game? (
/showthread.php?tid=550557)
How To Change Game Mode On Game? -
alishvasis - 13.12.2014
Hi Brotherss. How To CHange Game Mode In Game ?
Example In Cnr Game Mode Im Playing And 1 Hour Later Game Mode CHange to ZOmbi Server... How to Do This Thanks?
Re: How To Change Game Mode On Game? -
Patrik356b - 13.12.2014
Код:
forward ModeChange();
public OnGameModeInit()
{
SetTimer("ModeChange", (1000*60)*60, false); // 1 hour timer
}
public ModeChange()
{
SendRconCommand("changemode zombie"); // change to "zombie" mode
}
Something like this would do.
Otherwise log into rcon and use /rcon changemode zombie
Re: How To Change Game Mode On Game? -
alishvasis - 13.12.2014
Quote:
Originally Posted by Patrik356b
Код:
forward ModeChange();
public OnGameModeInit()
{
SetTimer("ModeChange", (1000*60)*60, false); // 1 hour timer
}
public ModeChange()
{
SendRconCommand("changemode zombie"); // change to "zombie" mode
}
Something like this would do.
Otherwise log into rcon and use /rcon changemode zombie
|
TnX Bro + REP