Confused :/
#1

Is there any way making this easyer?
Like i have a var called Mins so when he passed the checkpoint with more than 60(1 min) Mins = 1;
Ex:
pawn Код:
if(CountRaceTime[playerid][1] >= 60)
        {
            Mins = 1;
        }
        else if(CountRaceTime[playerid][1] >= 120)
        {
            Mins = 2;
        }
        else if(CountRaceTime[playerid][1] >= 180)
        {
            Mins = 3;
        }
        else if(CountRaceTime[playerid][1] >= 260)
        {
            Mins = 4;
        }
        else if(CountRaceTime[playerid][1] >= 320)
        {
            Mins = 5;
        }
        else if(CountRaceTime[playerid][1] >= 380)
        {
            Mins = 6;
        }
But like instead of writing that all the time.. Is there anyway of a macro or stock so I dont need to write like 60+ seconds?
Reply


Messages In This Thread
Confused :/ - by FireCat - 16.07.2011, 13:31
Re: Confused :/ - by Babul - 16.07.2011, 14:20

Forum Jump:


Users browsing this thread: 1 Guest(s)