16.07.2009, 17:45
Pawno wont compile this filterscript because of an error "dini_Exsist" isn't defined... but I used dini_Exsist earlier in the filterscript!!
Here's the code that im working with, and where the errors are:
I tried replacing it with the built-in "fexsist" function, but then i got an error message that fexsist wasn't defined either! This is stupid, can someone help?
Here's the code that im working with, and where the errors are:
Код:
public OnPlayerDisconnect(playerid, reason) { logged[playerid] = 0; new file[256], string[256]; new spawninfo[256], pname[MAX_PLAYER_NAME]; GetPlayerName(playerid, pname, sizeof(pname)); format(file, sizeof(file), "%s.ini", pname); if(dini_Exsists(file)) // <--- error line: undefined symbol "dini_Exsist" (theres only one error in the whole thing, and that is this line) { dini_IntSet(file, "level", 0); dini_IntSet(file, "score", GetPlayerScore(playerid)); dini_IntSet(file, "money", GetPlayerMoney(playerid)); dini_IntSet(file, "bank", BankBalance[playerid]); } }