Racing Stats Help
#1

Код:
	if(strcmp(cmd,"/racingstats",true)==0) // disabeled
  {
    if(IsPlayerConnected(playerid))
	  {
			new totalr = PlayerInfo[pRaceTotal];
			new racew = PlayerInfo[pRaceWins];
			new racel = PlayerInfo[pRaceLosses];
	    SendClientMessage(playerid, COLOR_WHITE, "|__________________ TEXT__________________|");
	    format(string, sizeof(string), "** Races Total: [%d]", totalr);
			SendClientMessage(playerid, COLOR_WHITE, string);
			format(string, sizeof(string), "** Races Wins: [%d]", racew);
			SendClientMessage(playerid, COLOR_WHITE, string);
			format(string, sizeof(string), "** Race Losses: [%d]", racel);
			SendClientMessage(playerid, COLOR_WHITE, string);
			SendClientMessage(playerid, COLOR_WHITE, "|______________________________________________|");
		}
	  return 1;
 	}
i get this errors
error 033: array must be indexed (variable "-unknown-")
error 033: array must be indexed (variable "-unknown-")
error 033: array must be indexed (variable "-unknown-")


Any one has an idea ?
Reply


Messages In This Thread
Racing Stats Help - by ArTisT - 07.01.2010, 17:01
Re: Racing Stats Help - by Norck - 07.01.2010, 17:07
Re: Racing Stats Help - by ArTisT - 07.01.2010, 17:11

Forum Jump:


Users browsing this thread: 1 Guest(s)