error 006: must be assigned to an array
#1

I don't understand
Код:
{
	new Text:newtext[255], scoretotal, killscore ,deathscore ,ratioscore ,file[128];
	format(file,sizeof(file),"/********/Accounts/%s.sav",udb_encode(PlayerName2(playerid)));
	scoretotal = GetPlayerScore(playerid);
	killscore = dini_Get(file, "Kills");//error 006: must be assigned to an array
	deathscore = dini_Get(file, "Deaths");//error 006: must be assigned to an array
	ratioscore = killscore / deathscore;
	format(newtext,sizeof(newtext), "~Y~Score:  ~W~%d  ~R~Deaths:  ~W~%d  ~P~Kills:  ~W~%d  ~G~Ratio: ~W~%d",scoretotal, deathscore, killscore ,ratioscore);
	TextDrawSetString(Textdraw, newtext);
	TextDrawShowForPlayer(playerid, Textdraw);
	return 1;
}
Reply


Messages In This Thread
error 006: must be assigned to an array - by jonathan1358 - 04.04.2012, 22:57
Re: error 006: must be assigned to an array - by JaTochNietDan - 05.04.2012, 02:43
Re: error 006: must be assigned to an array - by Ballu Miaa - 05.04.2012, 03:33
Re: error 006: must be assigned to an array - by DarkScripter - 05.04.2012, 03:53
Re: error 006: must be assigned to an array - by jonathan1358 - 05.04.2012, 03:54
Re: error 006: must be assigned to an array - by Ballu Miaa - 05.04.2012, 04:23
Re: error 006: must be assigned to an array - by Psymetrix - 05.04.2012, 04:29
Re: error 006: must be assigned to an array - by Ezay - 05.04.2012, 04:42

Forum Jump:


Users browsing this thread: 2 Guest(s)