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
#2

dini_Exists
Reply
#3

It is in there as dini_Exsists , but it doesnt work. Look at the code, not at my message

I don't understand if its a glitch or what, but it was telling me that the built in function "fexsist" was undefined...
Reply
#4

Seriously, learn to read, lol.

dini_Exists != dini_Exsists
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)