[HELP] GM load.
#1

Well, I want when ever one match is over, it loads up anther GM to play, so I can have like, bomb da' base, San Andreas War etc. start when one round is over, how would I do that?
Reply
#2

Quote:
Originally Posted by 1Shot1Kill™
Well, I want when ever one match is over, it loads up anther GM to play, so I can have like, bomb da' base, San Andreas War etc. start when one round is over, how would I do that?
On your server cfg you have:
pawn Code:
gamemode0 YOURGAMEMODE 1
Just Add:
pawn Code:
gamemode0 YOURGAMEMODE 1
gamemode1 ANOTHERGAMEMODE 1
gamemode2 ANOTHERGAMEMODE 1
gamemode3 ANOTHERGAMEMODE 1
gamemode4 ANOTHERGAMEMODE 1
Reply
#3

But how do I make it load the next GameMode?
Reply
#4

Use GameModeExit() on a timed callback.
Reply
#5

Hmm. Maybe not what I was looking for, I want for example,
You complete the mission, then round ends,
it send you to a skin select, and when you spawn, your at a new location, with a new objective.
Reply
#6

Code:
if(ObjectiveFinished)
{
  GameModeExit();
}
GameModeExit will finish the gamemode and then loads up another one. If you have only 1 it just physically starts the same gamemode again and GameModeExit will make it start the next GM like what wafffllesss said.

Quote:
Originally Posted by 1Shot1Kill™
skin select
ForceClassSelection(playerid);

Quote:
Originally Posted by 1Shot1Kill™
spawn
SpawnPlayer(playerid);

Quote:
Originally Posted by 1Shot1Kill™
new location, with a new objective.
Code:
if(Objective == 2)
{
 SetPlayerPos(playerid,X,Y,Z);
 SetObjective(objective)
}
Reply
#7

Well I'm not really sure where to place all of that, I need to define Objectives.
Reply
#8

Anyone help?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)