y_ini on player disconnect error
#1

Код:
;
public OnPlayerDisconnect(playerid, reason)
{
	new INI:File = INI_Open(UserPath(playerid));
	INI_SetTag(File,"data");
	INI_WriteInt(File,"Cash",GetPlayerMoney(playerid));
	INI_WriteInt(File,"Admin",PlayerInfo[playerid][pAdmin]);
	INI_WriteInt(File,"Kills",PlayerInfo[playerid][pKills]);
	INI_WriteInt(File,"Deaths",PlayerInfo[playerid][pDeaths]);
	INI_Close(File);
	return 1;
}
Код:
C:\Users\PC\Desktop\Dejanovi folderi\Black Angeles Roleplay\gamemodes\BARP.pwn(289) : error 017: undefined symbol "UserPath"
C:\Users\PC\Desktop\Dejanovi folderi\Black Angeles Roleplay\gamemodes\BARP.pwn(291) : error 017: undefined symbol "PlayerInfo"
C:\Users\PC\Desktop\Dejanovi folderi\Black Angeles Roleplay\gamemodes\BARP.pwn(291) : warning 215: expression has no effect
C:\Users\PC\Desktop\Dejanovi folderi\Black Angeles Roleplay\gamemodes\BARP.pwn(291) : error 001: expected token: ";", but found "]"
C:\Users\PC\Desktop\Dejanovi folderi\Black Angeles Roleplay\gamemodes\BARP.pwn(291) : error 029: invalid expression, assumed zero
C:\Users\PC\Desktop\Dejanovi folderi\Black Angeles Roleplay\gamemodes\BARP.pwn(291) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


5 Errors.
help
Reply


Messages In This Thread
y_ini on player disconnect error - by Dejan12345 - 03.08.2016, 06:40
Re: y_ini on player disconnect error - by AndySedeyn - 03.08.2016, 06:43
Re: y_ini on player disconnect error - by Dejan12345 - 03.08.2016, 06:55
Re: y_ini on player disconnect error - by AndySedeyn - 03.08.2016, 06:57
Re: y_ini on player disconnect error - by Dejan12345 - 03.08.2016, 07:05
Re: y_ini on player disconnect error - by AndySedeyn - 03.08.2016, 07:08
Re: y_ini on player disconnect error - by Dejan12345 - 03.08.2016, 08:15

Forum Jump:


Users browsing this thread: 1 Guest(s)