Bon tout est dans le titre mais sais très très compliquer auffette il et la mais le problème sais que quant vous fait tabulation il y a tout les score a 0 donc je sais pas quoi faire sa fait 3 semaine que je perte le sommeille:
public DollahScoreUpdate()
{
new LevScore;
for(new i=0; i<MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i))
{
LevScore = PlayerInfo[i][pLevel];
SetPlayerScore(i, LevScore);
}
}
return 1;
}
donc j'ai remonter le [pLevel] mais aucun problème sauf a la fin sa fini bizarre mais je sais pas si sais sa:
FindIP(StrToChk[])
{
new IpLevel = 0;
for(new a = 0; a < strlen(StrToChk); a++)
{
switch(IpLevel)
{
case 0:
{
if(IsNum(StrToChk[a])) IpLevel++;
}
case 1, 2:
{
if(IsNum(StrToChk[a])) IpLevel++;
else if(StrToChk[a] == '.') IpLevel = 4;
else IpLevel = 0;
}
case 3:
{
if(StrToChk[a] == '.') IpLevel++;
else IpLevel = 0;
}
case 4:
{
if(IsNum(StrToChk[a])) IpLevel++;
else IpLevel = 0;
}
case 5, 6:
{
if(IsNum(StrToChk[a])) IpLevel++;
else if(StrToChk[a] == '.') IpLevel = 8;
else IpLevel = 0;
}
case 7:
{
if(StrToChk[a] == '.') IpLevel++;
else IpLevel = 0;
}
case 8:
{
if(IsNum(StrToChk[a])) IpLevel++;
else IpLevel = 0;
}
case 9, 10:{
if(IsNum(StrToChk[a])) IpLevel++;
else if(StrToChk[a] == '.') IpLevel = 12;
else IpLevel = 0;
}
case 11:
{
if(StrToChk[a] == '.') IpLevel++;
else IpLevel = 0;
}
case 12:
{
if(IsNum(StrToChk[a])) return 1;
else IpLevel = 0;
}
}
}
return 0;
}
j'ai vue que c'était un anti pub mais je sais pas si sais sa mon problème donc je demande de l'aide HELP STP.