help with stupid glitch
#1

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:

Код:
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]);
	}
}
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?
Reply


Messages In This Thread
help with stupid glitch - by Annihalation - 16.07.2009, 17:45
Re: help with stupid glitch - by Khelif - 16.07.2009, 17:50
Re: help with stupid glitch - by Annihalation - 16.07.2009, 17:54
Re: help with stupid glitch - by woot - 16.07.2009, 18:52

Forum Jump:


Users browsing this thread: 2 Guest(s)