Reloads
#4

Try something like this maybe?

pawn Код:
LoadNextMission()
{
    new
        szFilePath[ 64 ];
   
    format( szFilePath, sizeof(szFilePath), "/Missions/%d.ini", LastMissionStarted +1);//last mission plus 1
   
    if( fexist(szFilePath) )
    {
        //.. next mission
    }
    else
    {
        //next game does not exist
    }

}
Reply


Messages In This Thread
Reloads - by Kitten - 21.05.2012, 19:22
Re: Reloads - by ViniBorn - 21.05.2012, 19:26
Re: Reloads - by Kitten - 21.05.2012, 19:44
Re: Reloads - by iggy1 - 21.05.2012, 19:55
Re: Reloads - by iGetty - 21.05.2012, 20:03
Re: Reloads - by Jefff - 21.05.2012, 22:03

Forum Jump:


Users browsing this thread: 1 Guest(s)