help me pls
#3

pawn Код:
new rNameFile [128];
format(rNameFile, sizeof(rNameFile), "/rRaceSystem/RaceNames/RaceNames.txt");
format(string, sizeof(string), "Race_%d", dini_Get(rNameFile, string));
if(string == "Race_5")
{
Position = 0;
FinishCount = 0;
JoinCount = 0;
Loop(x, 2) PlayersCount[x] = 0;
Joined[playerid] = true;
CountAmount = COUNT_DOWN_TILL_RACE_START;
RaceTime = MAX_RACE_TIME_LONG;
RaceBusy = 0x01;
TimeProgress = 0;
SetupRaceForPlayer(playerid);
CountTimer = SetTimer("CountTillRace", 999, 1);
}
else
{
Position = 0;
FinishCount = 0;
JoinCount = 0;
Loop(x, 2) PlayersCount[x] = 0;
Joined[playerid] = true;
CountAmount = COUNT_DOWN_TILL_RACE_START;
RaceTime = MAX_RACE_TIME;
RaceBusy = 0x01;
TimeProgress = 0;
SetupRaceForPlayer(playerid);
CountTimer = SetTimer("CountTillRace", 999, 1);
}
return 1;
}
Reply


Messages In This Thread
help me pls - by hebron - 26.06.2013, 14:48
Re: help me pls - by introzen - 26.06.2013, 14:58
Re: help me pls - by introzen - 26.06.2013, 15:00
Re: help me pls - by hebron - 26.06.2013, 15:10

Forum Jump:


Users browsing this thread: 1 Guest(s)