D:\Downloads\samp03x_svr_R2_win32\gamemodes\battleship.pwn(153) : warning 213: tag mismatch D:\Downloads\samp03x_svr_R2_win32\gamemodes\battleship.pwn(154) : error 017: undefined symbol "INI_SetTag" D:\Downloads\samp03x_svr_R2_win32\gamemodes\battleship.pwn(155) : error 035: argument type mismatch (argument 1) D:\Downloads\samp03x_svr_R2_win32\gamemodes\battleship.pwn(156) : error 035: argument type mismatch (argument 1) D:\Downloads\samp03x_svr_R2_win32\gamemodes\battleship.pwn(157) : warning 202: number of arguments does not match definition D:\Downloads\samp03x_svr_R2_win32\gamemodes\battleship.pwn(153) : warning 204: symbol is assigned a value that is never used: "acc" D:\Downloads\samp03x_svr_R2_win32\gamemodes\battleship.pwn(165) : warning 213: tag mismatch D:\Downloads\samp03x_svr_R2_win32\gamemodes\battleship.pwn(166) : error 017: undefined symbol "INI_SetTag" D:\Downloads\samp03x_svr_R2_win32\gamemodes\battleship.pwn(167) : error 035: argument type mismatch (argument 1) D:\Downloads\samp03x_svr_R2_win32\gamemodes\battleship.pwn(168) : error 035: argument type mismatch (argument 1) D:\Downloads\samp03x_svr_R2_win32\gamemodes\battleship.pwn(169) : warning 202: number of arguments does not match definition D:\Downloads\samp03x_svr_R2_win32\gamemodes\battleship.pwn(165) : warning 204: symbol is assigned a value that is never used: "file" D:\Downloads\samp03x_svr_R2_win32\gamemodes\battleship.pwn(176) : error 017: undefined symbol "INI_Int" D:\Downloads\samp03x_svr_R2_win32\gamemodes\battleship.pwn(1483) : error 017: undefined symbol "INI_ParseFile" D:\Downloads\samp03x_svr_R2_win32\gamemodes\battleship.pwn(1483) : warning 215: expression has no effect D:\Downloads\samp03x_svr_R2_win32\gamemodes\battleship.pwn(1483) : error 029: invalid expression, assumed zero D:\Downloads\samp03x_svr_R2_win32\gamemodes\battleship.pwn(1483) : error 017: undefined symbol "extra" D:\Downloads\samp03x_svr_R2_win32\gamemodes\battleship.pwn(1483) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 11 Errors.
#include < YSI\y_ini >
#include <YSI\y_ini>
Include y_ini to the mode.
pawn Код:
|
You should download Y_INI and
pawn Код:
Then post the code with the errors if there any.. |
D:\Downloads\samp03x_svr_R2_win32\pawno\include\YSI\y_ini.inc(695) : error 025: function heading differs from prototype D:\Downloads\samp03x_svr_R2_win32\pawno\include\YSI\y_ini.inc(696) : error 021: symbol already defined: "INI_Open" D:\Downloads\samp03x_svr_R2_win32\pawno\include\YSI\y_ini.inc(710) : warning 213: tag mismatch D:\Downloads\samp03x_svr_R2_win32\pawno\include\YSI\y_ini.inc(729) : warning 213: tag mismatch D:\Downloads\samp03x_svr_R2_win32\pawno\include\YSI\y_ini.inc(743) : error 025: function heading differs from prototype D:\Downloads\samp03x_svr_R2_win32\pawno\include\YSI\y_ini.inc(744) : error 021: symbol already defined: "INI_Close" D:\Downloads\samp03x_svr_R2_win32\pawno\include\YSI\y_ini.inc(748) : warning 209: function "INI_Close" should return a value D:\Downloads\samp03x_svr_R2_win32\pawno\include\YSI\y_ini.inc(1030) : error 025: function heading differs from prototype D:\Downloads\samp03x_svr_R2_win32\pawno\include\YSI\y_ini.inc(1031) : error 021: symbol already defined: "INI_RemoveEntry" D:\Downloads\samp03x_svr_R2_win32\pawno\include\YSI\y_ini.inc(1051) : error 025: function heading differs from prototype D:\Downloads\samp03x_svr_R2_win32\pawno\include\YSI\y_ini.inc(1052) : error 021: symbol already defined: "INI_WriteString" D:\Downloads\samp03x_svr_R2_win32\pawno\include\YSI\y_ini.inc(1055) : warning 209: function "INI_WriteString" should return a value D:\Downloads\samp03x_svr_R2_win32\pawno\include\YSI\y_ini.inc(1070) : error 025: function heading differs from prototype D:\Downloads\samp03x_svr_R2_win32\pawno\include\YSI\y_ini.inc(1071) : error 021: symbol already defined: "INI_WriteInt" D:\Downloads\samp03x_svr_R2_win32\pawno\include\YSI\y_ini.inc(1077) : warning 209: function "INI_WriteInt" should return a value D:\Downloads\samp03x_svr_R2_win32\pawno\include\YSI\y_ini.inc(1188) : error 025: function heading differs from prototype D:\Downloads\samp03x_svr_R2_win32\pawno\include\YSI\y_ini.inc(1189) : error 021: symbol already defined: "INI_WriteFloat" D:\Downloads\samp03x_svr_R2_win32\gamemodes\battleship.pwn(154) : warning 213: tag mismatch D:\Downloads\samp03x_svr_R2_win32\gamemodes\battleship.pwn(156) : error 035: argument type mismatch (argument 1) D:\Downloads\samp03x_svr_R2_win32\gamemodes\battleship.pwn(157) : error 035: argument type mismatch (argument 1) D:\Downloads\samp03x_svr_R2_win32\gamemodes\battleship.pwn(158) : warning 202: number of arguments does not match definition D:\Downloads\samp03x_svr_R2_win32\gamemodes\battleship.pwn(166) : warning 213: tag mismatch D:\Downloads\samp03x_svr_R2_win32\gamemodes\battleship.pwn(168) : error 035: argument type mismatch (argument 1) D:\Downloads\samp03x_svr_R2_win32\gamemodes\battleship.pwn(169) : error 035: argument type mismatch (argument 1) D:\Downloads\samp03x_svr_R2_win32\gamemodes\battleship.pwn(170) : warning 202: number of arguments does not match definition D:\Downloads\samp03x_svr_R2_win32\gamemodes\battleship.pwn(2821) : error 017: undefined symbol "ClientMessage" D:\Downloads\samp03x_svr_R2_win32\gamemodes\battleship.pwn(2837) : error 017: undefined symbol "ClientMessage" D:\Downloads\samp03x_svr_R2_win32\gamemodes\battleship.pwn(2869) : error 017: undefined symbol "ClientMessage" D:\Downloads\samp03x_svr_R2_win32\gamemodes\battleship.pwn(2952) : error 017: undefined symbol "ClientMessage" D:\Downloads\samp03x_svr_R2_win32\gamemodes\battleship.pwn(2968) : error 017: undefined symbol "ClientMessage" D:\Downloads\samp03x_svr_R2_win32\gamemodes\battleship.pwn(2989) : error 017: undefined symbol "ClientMessage" D:\Downloads\samp03x_svr_R2_win32\gamemodes\battleship.pwn(3019) : error 017: undefined symbol "ClientMessage" D:\Downloads\samp03x_svr_R2_win32\gamemodes\battleship.pwn(3035) : error 017: undefined symbol "ClientMessage" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 24 Errors.
Do not use y_ini and SII together. Both use similar names to some functions like INI_Open and INI_Close.
y_ini is recommended so get rid of that SII. |
D:\Downloads\samp03x_svr_R2_win32\gamemodes\battleship.pwn(492) : error 017: undefined symbol "INI_ReadInt" D:\Downloads\samp03x_svr_R2_win32\gamemodes\battleship.pwn(493) : error 017: undefined symbol "INI_ReadInt" D:\Downloads\samp03x_svr_R2_win32\gamemodes\battleship.pwn(494) : error 017: undefined symbol "INI_ReadInt" D:\Downloads\samp03x_svr_R2_win32\gamemodes\battleship.pwn(496) : error 017: undefined symbol "INI_ReadInt" D:\Downloads\samp03x_svr_R2_win32\gamemodes\battleship.pwn(497) : error 017: undefined symbol "INI_ReadInt" D:\Downloads\samp03x_svr_R2_win32\gamemodes\battleship.pwn(498) : error 017: undefined symbol "INI_ReadInt" D:\Downloads\samp03x_svr_R2_win32\gamemodes\battleship.pwn(499) : error 017: undefined symbol "INI_ReadInt" D:\Downloads\samp03x_svr_R2_win32\gamemodes\battleship.pwn(500) : warning 202: number of arguments does not match definition D:\Downloads\samp03x_svr_R2_win32\gamemodes\battleship.pwn(513) : error 035: argument type mismatch (argument 1) D:\Downloads\samp03x_svr_R2_win32\gamemodes\battleship.pwn(514) : error 035: argument type mismatch (argument 1) D:\Downloads\samp03x_svr_R2_win32\gamemodes\battleship.pwn(515) : error 035: argument type mismatch (argument 1) D:\Downloads\samp03x_svr_R2_win32\gamemodes\battleship.pwn(516) : error 035: argument type mismatch (argument 1) D:\Downloads\samp03x_svr_R2_win32\gamemodes\battleship.pwn(517) : error 035: argument type mismatch (argument 1) D:\Downloads\samp03x_svr_R2_win32\gamemodes\battleship.pwn(518) : error 035: argument type mismatch (argument 1) D:\Downloads\samp03x_svr_R2_win32\gamemodes\battleship.pwn(519) : error 035: argument type mismatch (argument 1) D:\Downloads\samp03x_svr_R2_win32\gamemodes\battleship.pwn(520) : error 017: undefined symbol "INI_Save" D:\Downloads\samp03x_svr_R2_win32\gamemodes\battleship.pwn(521) : warning 202: number of arguments does not match definition D:\Downloads\samp03x_svr_R2_win32\gamemodes\battleship.pwn(512) : warning 204: symbol is assigned a value that is never used: "score" D:\Downloads\samp03x_svr_R2_win32\gamemodes\battleship.pwn(2821) : error 017: undefined symbol "ClientMessage" D:\Downloads\samp03x_svr_R2_win32\gamemodes\battleship.pwn(2837) : error 017: undefined symbol "ClientMessage" D:\Downloads\samp03x_svr_R2_win32\gamemodes\battleship.pwn(2869) : error 017: undefined symbol "ClientMessage" D:\Downloads\samp03x_svr_R2_win32\gamemodes\battleship.pwn(2952) : error 017: undefined symbol "ClientMessage" D:\Downloads\samp03x_svr_R2_win32\gamemodes\battleship.pwn(2968) : error 017: undefined symbol "ClientMessage" D:\Downloads\samp03x_svr_R2_win32\gamemodes\battleship.pwn(2989) : error 017: undefined symbol "ClientMessage" D:\Downloads\samp03x_svr_R2_win32\gamemodes\battleship.pwn(3019) : error 017: undefined symbol "ClientMessage" D:\Downloads\samp03x_svr_R2_win32\gamemodes\battleship.pwn(3035) : error 017: undefined symbol "ClientMessage" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 23 Errors.
D:\Downloads\samp03x_svr_R2_win32\gamemodes\battleship.pwn(154) : warning 213: tag mismatch D:\Downloads\samp03x_svr_R2_win32\gamemodes\battleship.pwn(155) : error 017: undefined symbol "INI_SetTag" D:\Downloads\samp03x_svr_R2_win32\gamemodes\battleship.pwn(156) : error 035: argument type mismatch (argument 1) D:\Downloads\samp03x_svr_R2_win32\gamemodes\battleship.pwn(157) : error 035: argument type mismatch (argument 1) D:\Downloads\samp03x_svr_R2_win32\gamemodes\battleship.pwn(158) : warning 202: number of arguments does not match definition D:\Downloads\samp03x_svr_R2_win32\gamemodes\battleship.pwn(154) : warning 204: symbol is assigned a value that is never used: "acc" D:\Downloads\samp03x_svr_R2_win32\gamemodes\battleship.pwn(166) : warning 213: tag mismatch D:\Downloads\samp03x_svr_R2_win32\gamemodes\battleship.pwn(167) : error 017: undefined symbol "INI_SetTag" D:\Downloads\samp03x_svr_R2_win32\gamemodes\battleship.pwn(168) : error 035: argument type mismatch (argument 1) D:\Downloads\samp03x_svr_R2_win32\gamemodes\battleship.pwn(169) : error 035: argument type mismatch (argument 1) D:\Downloads\samp03x_svr_R2_win32\gamemodes\battleship.pwn(170) : warning 202: number of arguments does not match definition D:\Downloads\samp03x_svr_R2_win32\gamemodes\battleship.pwn(166) : warning 204: symbol is assigned a value that is never used: "file" D:\Downloads\samp03x_svr_R2_win32\gamemodes\battleship.pwn(177) : error 017: undefined symbol "INI_Int" D:\Downloads\samp03x_svr_R2_win32\gamemodes\battleship.pwn(1484) : error 017: undefined symbol "INI_ParseFile" D:\Downloads\samp03x_svr_R2_win32\gamemodes\battleship.pwn(1484) : warning 215: expression has no effect D:\Downloads\samp03x_svr_R2_win32\gamemodes\battleship.pwn(1484) : error 029: invalid expression, assumed zero D:\Downloads\samp03x_svr_R2_win32\gamemodes\battleship.pwn(1484) : error 017: undefined symbol "extra" D:\Downloads\samp03x_svr_R2_win32\gamemodes\battleship.pwn(1484) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 11 Errors.
foreach(new id : Player)
foreach(Player, id)
Also you was using foreach in the wrong way
You typed pawn Код:
pawn Код:
|
foreach(Player, id)
foreach(new id : Player)
Introduction
foreach replaces some* loops (normally the main player loop) with a faster, more efficient loop. Example: pawn Код:
pawn Код:
|
Actually
pawn Код:
pawn Код:
|