Posts: 26
Threads: 10
Joined: Sep 2012
Reputation:
0
Hey guys. I created a Map Changing system using Kitten's tutorial. However after my last map (i have 3 map), the maps won't go from beginning again, but the fourth map begins, but i don't even have a fourth map. I spawn somewhere in a another dimension. I want it to go from beginning, how to do that?
Posts: 26
Threads: 10
Joined: Sep 2012
Reputation:
0
Thanks!
However you had a error:
[CODE]public NewMapTimer(playerid)
{
MapChange++;
if(MapChange>=3) MapChange=0;//Was missing '='
GameTextForAll("--- LOADING NEW MAP ---",4000,3);
SetTimer("StartedNewRound", 4000, false);
return 1;
}
One last question, am i able to disable the gaming machines in Caligula's?
Posts: 26
Threads: 10
Joined: Sep 2012
Reputation:
0
Thanks!
However you had a error:
[CODE]public NewMapTimer(playerid)
{
MapChange++;
if(MapChange>=3) MapChange=0;//Was missing '='
GameTextForAll("--- LOADING NEW MAP ---",4000,3);
SetTimer("StartedNewRound", 4000, false);
return 1;
}
One last question, am i able to disable the gaming machines in Caligula's?
Posts: 2,364
Threads: 135
Joined: Dec 2009
Reputation:
0
not really what you have done is change the if statement to pickup when the variable if it HITS 3 or over
which will now not make the 3rd map work
so use my method >3 which means if it goes over 3 !