20.10.2013, 09:52
Remade by my self
errors:
error 017: undefined symbol "AcountFile"
error 017: undefined symbol "AcountFile"
Quote:
new pName [ 24 ], params [ 77 ], ScoreAmount, AccountFile [ 70 ], string [ 90 ] ; if(sscanf(params, "s[24]", pName, ScoreAmount)) return SendClientMessage(playerid, -1, "/setscore [PlayerName] [Score Amount]"); format(AccountFile, sizeof(AccountFile), "saves/user/%s.ini", pName); //Your_Path should look something like this Users/pds2k12.ini but instead of name you put %s if(!dini_Exists(AccountFile)) return format(string, sizeof(string), "There is an issue locating '%s' in the database.", pName), SendClientMessage(playerid, -1, string); if(dini_Exists(AcountFile)) //Errrorss { dini_IntSet(AcountFile, "Score", ScoreAmount); //errrorss } return 1; } |
error 017: undefined symbol "AcountFile"
error 017: undefined symbol "AcountFile"