Is there any way??
#1

is there any way to clear all race records of yrace??. as they are bugged i am fixing timer but records are saved i want to know if it is possible to clear all race records with command.

Here is best race command if you can figure out from this how to make that clear race record
pawn Код:
CMD:bestrace(playerid,params[])
{
    new tmp[64], idx;
    tmp = strtok(params, idx);
    if(LoadTimes(playerid,0,tmp)) return 1;
    if(TopRacerTimes[0] == 0)
    {
        SendClientMessage(playerid,COLOR_YELLOW,"No scores available.");
        return 1;
    }
    format(ystring,sizeof(ystring),"%s by %s - Best Race times:",CRaceName,CBuilder);
    SendClientMessage(playerid,COLOR_GREEN,ystring);
    for(new i;i<5;i++)
    {
        if(TopRacerTimes[i] == 0)
        {
            format(ystring,sizeof(ystring),"%d. None yet",i+1);
            i=6;
        }
        else
        {
           format(ystring,sizeof(ystring),"%d. %s - %s",i+1,BeHuman(TopRacerTimes[i]),TopRacers[i]);
        }
        SendClientMessage(playerid,COLOR_GREEN,ystring);
    }
    return 1;
}
[Sorry for my bad english if you cant understand]
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)