04.04.2012, 22:57
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; }