07.12.2010, 13:32
I fking give up >,<
We tried over 30 different solutions the code is from ADRENALINE it self and now all it does it Jumps mostly at 6sec, its like: 1..2...3...4...5...7...8...9...10...11...13 and I DONT KNOW WTF IS WRONG? The code is the same for 30times only with different styles neither any of my friends can understand this, i mean come ooon what the heck could be wrong with this, with adrenaline gamemode it works FINE, i double triple x100000 checked it and copied the code but it DOESN'T WORK!
pawn Код:
new RTime,timestamp;
timestamp = GetTickCount();
if (RaceTick != 0)
RTime = timestamp - RaceTick;
else
RTime=0;
new Min,Sec,MS;
ConvertTime2(RTime, Min, Sec, MS);
gindex=0;
while (Sec > 9)
{
Sec-=10;
gindex++;
}
new str[64];
if(RaceStarted == 1)
{
format(str,sizeof(str),"%02d:%d%d",Min,gindex,Sec);
for(new i=0; i<MAX_SLOTS; i++)
{
if(PlayerI[i][InRace] == 1)
{
SendClientMessage(i,COLOR_WHITE,str);
}
}
}