Need Some Help In TDM.
#1

i have made a map chaning system but there is some problem and the problem is that i have 12 maps and all are working good but in the last map. when the last map's timer finishs then it does not reset to 1st map.

last map

pawn Код:
case 11: { // MFPD
            SendRconCommand("mapname MFPD" );
            if(gTeam[playerid] == TEAM_HUMAN) {
                SetPlayerPos(playerid, -2086.5854,296.9832,41.0602);
                SetPlayerFacingAngle(playerid,238.3208);
            }
            if(gTeam[playerid] == TEAM_ZOMBIE) {
                SetPlayerPos(playerid , -1963.0413,255.7414,35.4739) ;
                SetPlayerFacingAngle(playerid,358.2750);
            }
and the first map

pawn Код:
case 0: { // Dam Power Source
            SendRconCommand("mapname Dam Power Source" );
            if(gTeam[playerid] == TEAM_HUMAN) {
                SetPlayerPos(playerid,-938.9497,1847.1716,5.0000);
                SetPlayerInterior(playerid,17);
            }
            if(gTeam[playerid] == TEAM_ZOMBIE) {
                SetPlayerPos(playerid ,-957.0829,1930.4469,5.0000) ;
                SetPlayerInterior(playerid,17);
            }
        }
i don't know why the last map does not reset to first map. Help me please.
Reply


Messages In This Thread
Need Some Help In TDM. - by Champ - 28.06.2012, 18:09
Re: Need Some Help In TDM. - by mati233 - 28.06.2012, 19:36
Re: Need Some Help In TDM. - by [A]ndrei - 28.06.2012, 20:58
Re: Need Some Help In TDM. - by Champ - 29.06.2012, 05:06
Re: Need Some Help In TDM. - by Randy More - 29.06.2012, 05:45
Re: Need Some Help In TDM. - by Champ - 29.06.2012, 06:05
Re: Need Some Help In TDM. - by Randy More - 29.06.2012, 06:10
Re: Need Some Help In TDM. - by Champ - 29.06.2012, 10:42
Re: Need Some Help In TDM. - by Kitten - 29.06.2012, 18:13
Re: Need Some Help In TDM. - by [A]ndrei - 29.06.2012, 21:18

Forum Jump:


Users browsing this thread: 1 Guest(s)