2 Gamemodes - 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: 2 Gamemodes (
/showthread.php?tid=613438)
2 Gamemodes -
SounDD - 27.07.2016
Hey,is that possible to run 2 gamemodes at the same time?
Re: 2 Gamemodes -
SounDD - 28.07.2016
Knows anyone?
Re: 2 Gamemodes -
yvoms - 28.07.2016
Do you mean running 2 different servers or 2 gamemodes blended together?
At the Server_configuration add the gamemodename to the Gamemode0 line,
Create a command:
Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/changegamemodename", cmdtext, true, 10) == 0)
{
SendRconCommand("changemode changemetogamemodename");
return 1;
}
return 1;
}
Re: 2 Gamemodes -
SounDD - 28.07.2016
No,I want to run 2 gamemodes at the same time without a command
Maybe if i set 2 virtual worlds..it will be work?
Re: 2 Gamemodes - WhiteGhost - 28.07.2016
Well i've seen something in this in Freeroam if this that u mean do a command /Gm and and listen of gamemodes come up when u click for example deathmatch your now in a Dm (Server/Gamemode) is that what u mean?
Re: 2 Gamemodes -
DeeadPool - 28.07.2016
That's not possible at all, though you can create another object in other worlds.
Re: 2 Gamemodes -
SickAttack - 28.07.2016
No, you can't just grab two gamemodes and mash them together. Adapt them in a way they both would work. For example, doing different things depending on a variable (the mode a player is in) on OnPlayerSpawn.
Re: 2 Gamemodes -
SounDD - 28.07.2016
I got it,thanks guys
Re: 2 Gamemodes -
BiosMarcel - 28.07.2016
run two applications with diffrent ports or merge two scripts( probably a ton of work)