17.08.2014, 06:12
Hello...
I have a map changing system and it got 13 maps at all.
I want that once the case reaches to 13, which means MapChange==13, it should set it back to 0.
My Code -
It doesnt give any error but it isn't working.
I have a map changing system and it got 13 maps at all.
I want that once the case reaches to 13, which means MapChange==13, it should set it back to 0.
My Code -
Код:
public NewMapTimer(playerid) // The callback we forwarded on the beginning of the tutorial { if(MapChange == 13) { MapChange=0; } MapChange++; // this makes it to go to the second MapChange++ part basically does it GameTextForAll("~b~Loading ~n~~g~Next Map",4000,3); SetTimer("StartedNewRound",4000,false); // Starts a new timer for the MapChangechange 4 seconds this basically starts the new MapChangeand always must be in false return 1; }