07.05.2015, 16:28
Hello everyone .help me please with this ,im trying to create saving system using Y_ini .but its too hard ,help please... there are so many errors lines there ,how to fix that?
this is the line 3302 onPLyerDisconnect
please help.how to fix that....
Thank you.
this is the line 3302 onPLyerDisconnect
Quote:
new INI:File = INI_Open(UserPath(playerid)); INI_SetTag(File,"data"); INI_IntWrite(File,"Admin",PlayerInfo[playerid][pAdmin]); INI_IntWrite(File,"Helper",PlayerInfo[playerid][pHelper]); INI_IntWrite(File,"Jailed",PlayerInfo[playerid][pJailed]); INI_IntWrite(File,"Kills",PlayerInfo[playerid][pKills]); INI_IntWrite(File,"Deaths",PlayerInfo[playerid][pDeaths]); INI_IntWrite(File,"Scores",PlayerInfo[playerid][pScores]); INI_IntWrite(File,"Money",PlayerInfo[playerid][pMoney]); INI_IntWrite(File,"AdminDuty",PlayerInfo[playerid][pAdminDuty]); INI_IntWrite(File,"Warns",PlayerInfo[playerid][pWarns]); INI_IntWrite(File,"SpamTime",PlayerInfo[playerid][pSpamTime]); INI_IntWrite(File,"Logged",PlayerInfo[playerid][pLogged]); INI_IntWrite(File,"Muted",PlayerInfo[playerid][pMuted]); INI_Close(File); return 1; } |
Код:
D:\FahLevY\PROJECT SERVER GUE !!!\Project Specially\Server Jadi!\real war (fixed)\pawno\include\YSI\y_utils.inc(433) : error 079: inconsistent return types (array & non-array) D:\FahLevY\PROJECT SERVER GUE !!!\Project Specially\Server Jadi!\real war (fixed)\pawno\include\YSI\y_commands.inc(219) : warning 201: redefinition of constant/macro (symbol "CMD:%0(%1)") D:\FahLevY\PROJECT SERVER GUE !!!\Project Specially\Server Jadi!\real war (fixed)\pawno\include\YSI\y_commands.inc(220) : warning 201: redefinition of constant/macro (symbol "COMMAND") D:\FahLevY\PROJECT SERVER GUE !!!\Project Specially\Server Jadi!\real war (fixed)\pawno\include\YSI\y_ini.inc(695) : error 025: function heading differs from prototype D:\FahLevY\PROJECT SERVER GUE !!!\Project Specially\Server Jadi!\real war (fixed)\pawno\include\YSI\y_ini.inc(696) : error 021: symbol already defined: "INI_Open" D:\FahLevY\PROJECT SERVER GUE !!!\Project Specially\Server Jadi!\real war (fixed)\pawno\include\YSI\y_ini.inc(710) : warning 213: tag mismatch D:\FahLevY\PROJECT SERVER GUE !!!\Project Specially\Server Jadi!\real war (fixed)\pawno\include\YSI\y_ini.inc(729) : warning 213: tag mismatch D:\FahLevY\PROJECT SERVER GUE !!!\Project Specially\Server Jadi!\real war (fixed)\pawno\include\YSI\y_ini.inc(743) : error 025: function heading differs from prototype D:\FahLevY\PROJECT SERVER GUE !!!\Project Specially\Server Jadi!\real war (fixed)\pawno\include\YSI\y_ini.inc(744) : error 021: symbol already defined: "INI_Close" D:\FahLevY\PROJECT SERVER GUE !!!\Project Specially\Server Jadi!\real war (fixed)\pawno\include\YSI\y_ini.inc(748) : warning 209: function "INI_Close" should return a value D:\FahLevY\PROJECT SERVER GUE !!!\Project Specially\Server Jadi!\real war (fixed)\pawno\include\YSI\y_ini.inc(1030) : error 025: function heading differs from prototype D:\FahLevY\PROJECT SERVER GUE !!!\Project Specially\Server Jadi!\real war (fixed)\pawno\include\YSI\y_ini.inc(1031) : error 021: symbol already defined: "INI_RemoveEntry" D:\FahLevY\PROJECT SERVER GUE !!!\Project Specially\Server Jadi!\real war (fixed)\pawno\include\YSI\y_ini.inc(1051) : error 025: function heading differs from prototype D:\FahLevY\PROJECT SERVER GUE !!!\Project Specially\Server Jadi!\real war (fixed)\pawno\include\YSI\y_ini.inc(1052) : error 021: symbol already defined: "INI_WriteString" D:\FahLevY\PROJECT SERVER GUE !!!\Project Specially\Server Jadi!\real war (fixed)\pawno\include\YSI\y_ini.inc(1055) : warning 209: function "INI_WriteString" should return a value D:\FahLevY\PROJECT SERVER GUE !!!\Project Specially\Server Jadi!\real war (fixed)\pawno\include\YSI\y_ini.inc(1070) : error 025: function heading differs from prototype D:\FahLevY\PROJECT SERVER GUE !!!\Project Specially\Server Jadi!\real war (fixed)\pawno\include\YSI\y_ini.inc(1071) : error 021: symbol already defined: "INI_WriteInt" D:\FahLevY\PROJECT SERVER GUE !!!\Project Specially\Server Jadi!\real war (fixed)\pawno\include\YSI\y_ini.inc(1077) : warning 209: function "INI_WriteInt" should return a value D:\FahLevY\PROJECT SERVER GUE !!!\Project Specially\Server Jadi!\real war (fixed)\pawno\include\YSI\y_ini.inc(1188) : error 025: function heading differs from prototype D:\FahLevY\PROJECT SERVER GUE !!!\Project Specially\Server Jadi!\real war (fixed)\pawno\include\YSI\y_ini.inc(1189) : error 021: symbol already defined: "INI_WriteFloat" D:\FahLevY\PROJECT SERVER GUE !!!\Project Specially\Server Jadi!\Call of Duty - Desert Warfare\pawno\baru.pwn(80) : warning 201: redefinition of constant/macro (symbol "RF") D:\FahLevY\PROJECT SERVER GUE !!!\Project Specially\Server Jadi!\Call of Duty - Desert Warfare\pawno\baru.pwn(759) : error 017: undefined symbol "pAdminDuty" D:\FahLevY\PROJECT SERVER GUE !!!\Project Specially\Server Jadi!\Call of Duty - Desert Warfare\pawno\baru.pwn(3300) : warning 213: tag mismatch D:\FahLevY\PROJECT SERVER GUE !!!\Project Specially\Server Jadi!\Call of Duty - Desert Warfare\pawno\baru.pwn(3302) : error 017: undefined symbol "INI_IntWrite" D:\FahLevY\PROJECT SERVER GUE !!!\Project Specially\Server Jadi!\Call of Duty - Desert Warfare\pawno\baru.pwn(3303) : error 017: undefined symbol "INI_IntWrite" D:\FahLevY\PROJECT SERVER GUE !!!\Project Specially\Server Jadi!\Call of Duty - Desert Warfare\pawno\baru.pwn(3304) : error 017: undefined symbol "INI_IntWrite" D:\FahLevY\PROJECT SERVER GUE !!!\Project Specially\Server Jadi!\Call of Duty - Desert Warfare\pawno\baru.pwn(3305) : error 017: undefined symbol "INI_IntWrite" D:\FahLevY\PROJECT SERVER GUE !!!\Project Specially\Server Jadi!\Call of Duty - Desert Warfare\pawno\baru.pwn(3306) : error 017: undefined symbol "INI_IntWrite" D:\FahLevY\PROJECT SERVER GUE !!!\Project Specially\Server Jadi!\Call of Duty - Desert Warfare\pawno\baru.pwn(3307) : error 017: undefined symbol "INI_IntWrite" D:\FahLevY\PROJECT SERVER GUE !!!\Project Specially\Server Jadi!\Call of Duty - Desert Warfare\pawno\baru.pwn(3308) : error 017: undefined symbol "INI_IntWrite" D:\FahLevY\PROJECT SERVER GUE !!!\Project Specially\Server Jadi!\Call of Duty - Desert Warfare\pawno\baru.pwn(3309) : error 017: undefined symbol "INI_IntWrite" D:\FahLevY\PROJECT SERVER GUE !!!\Project Specially\Server Jadi!\Call of Duty - Desert Warfare\pawno\baru.pwn(3310) : error 017: undefined symbol "INI_IntWrite" D:\FahLevY\PROJECT SERVER GUE !!!\Project Specially\Server Jadi!\Call of Duty - Desert Warfare\pawno\baru.pwn(3311) : error 017: undefined symbol "INI_IntWrite" D:\FahLevY\PROJECT SERVER GUE !!!\Project Specially\Server Jadi!\Call of Duty - Desert Warfare\pawno\baru.pwn(3312) : error 017: undefined symbol "INI_IntWrite" D:\FahLevY\PROJECT SERVER GUE !!!\Project Specially\Server Jadi!\Call of Duty - Desert Warfare\pawno\baru.pwn(3313) : error 017: undefined symbol "INI_IntWrite" Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 26 Errors.
Thank you.