oui mais le probleme il n'as pas de recort dessus
EDIT : ou si quelqu'un connai la commande /bestrace qui peut aller sur C30_gp sa serai super CooL
Double post
HELP PLEAZE
EDIT 2 : ALors voila Sim ma dit de copier le code de Yrace et de mofier la premiere ligne donc voila ce que sa donne :
if (strcmp("/bestrace",playerid,cmdtext[9])
{
new tmp[64], idx;
tmp = strtok(cmdtext[9], idx);
if(LoadTimes(playerid,0,tmp)) return 1;
if(TopRacerTimes[0] == 0)
{
SendClientMessage(playerid,COLOR_YELLOW,"No hay resultados.");
return 1;
}
format(ystring,sizeof(ystring),"%s por %s - Mejores tiempos:",CRaceName,CBuilder);
SendClientMessage(playerid,COLOR_GREEN,ystring);
for(new i;i<5;i++)
{
if(TopRacerTimes[i] == 0)
{
format(ystring,sizeof(ystring),"%d. Aun no",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;
}Bon je sait j'ai du faire des erreurs mais j'arrive pas a mettre la main dessus donc voila quand je compile :
C:\DOCUME~1\BrunoLB\Bureau\C30_gp.pwn(607) : error 035: argument type mismatch (argument 2)
C:\DOCUME~1\BrunoLB\Bureau\C30_gp.pwn(611) : error 004: function "LoadTimes" is not implemented
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
2 Errors.
Donc voila merci d'avance de votre aide.