SA-MP Forums Archive
Multi Modes help - 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: Multi Modes help (/showthread.php?tid=569242)



Multi Modes help - DevinPatino - 29.03.2015

I was wondering if someone can help me or teach me to make a vote type thing so I can put 4-5 gamemodes into one big gamemode for i.e below
GTA Community #1 <--- Community name
TDM
DM
GangWars
(All different gamemodes)
Say you're playing on TDM timer ends what is that code? Please include the vote & timer xd also explain how I can make this possible xoxo


Re: Multi Modes help - JaydenJason - 29.03.2015

/rcon changemode [mode] - This command will change the current gamemode to the given one (example: if you want to play sftdm: /rcon changemode sftdm).

https://sampwiki.blast.hk/wiki/RCON
https://sampwiki.blast.hk/wiki/SendRconCommand


Re: Multi Modes help - DevinPatino - 29.03.2015

Quote:
Originally Posted by JaydenJason
Посмотреть сообщение
/rcon changemode [mode] - This command will change the current gamemode to the given one (example: if you want to play sftdm: /rcon changemode sftdm).

https://sampwiki.blast.hk/wiki/RCON
https://sampwiki.blast.hk/wiki/SendRconCommand
How can I do this on a timer? instead of me manually doing it?


Re: Multi Modes help - JaydenJason - 29.03.2015

Inside the timer function, do

SendRconCommand("changemode newgmname")

Do you have a voting system?


Re: Multi Modes help - DevinPatino - 29.03.2015

No @jayden


Re: Multi Modes help - CalvinC - 29.03.2015

He linked the wiki page to send rcon commands.
https://sampwiki.blast.hk/wiki/SendRconCommand
Just read that and use it in your timer.