• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Server] Problem with Foreach & INI
#1
How to fix this is ?



Code:
F:\TLOD\pawno\include\foreach.inc(196) : error 017: undefined symbol "_FOREACH_CUR_VERSION"

F:\TLOD\gamemodes\project.pwn(855) : error 017: undefined symbol "INI_ParseFile"

F:\TLOD\gamemodes\project.pwn(855) : warning 215: expression has no effect

F:\TLOD\gamemodes\project.pwn(855) : error 029: invalid expression, assumed zero

F:\TLOD\gamemodes\project.pwn(855) : error 017: undefined symbol "extra"

F:\TLOD\gamemodes\project.pwn(855) : fatal error 107: too many error messages on one line



Line 855 - 864

Code:
? ? ? ? INI_ParseFile(UserPath(playerid), "LoadUser_%s", .bExtra = true, .extra = playerid);

? ? ? ? if(PlayerInfo[playerid][pBanned] == 1) return ShowBan(playerid);

? ? ? ? ShowPlayerDialog(playerid, DIALOG_LOGIN, DIALOG_STYLE_PASSWORD,""COL_WHITE"Login",""COL_WHITE"Wellcome back "COL_RED"The Land Of Death\n"COL_WHITE"Please write password to login","Login","Quit");

? ? }

? ? else

? ? {

? ? ? ? ShowPlayerDialog(playerid, DIALOG_REGISTER, DIALOG_STYLE_INPUT,""COL_WHITE"Register",""COL_WHITE"Wellcome to "COL_RED"The Land of Death\n"COL_WHITE"Please register before player.","Register","Quit");

? ? }

return 1;

}
HELLO EVERYONE!

  Reply
#2
Check your foreach.inc file and see if you have " _FOREACH_CUR_VERSION " defined or not.

If not, then try updating your file.



Same thing goes for you Y_ini.inc file.

Check if you have "INI_ParseFile" defined or not.

If not, then update your file.
  Reply


Forum Jump: