SA-MP Forums Archive
undefined symbol "INI_String" - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: undefined symbol "INI_String" (/showthread.php?tid=556142)



undefined symbol "INI_String" - ilepopivanov - 09.01.2015

Код:
D:\GameMode\gamemodes\bare.pwn(313) : error 017: undefined symbol "INI_String"
D:\GameMode\gamemodes\bare.pwn(314) : error 017: undefined symbol "INI_String"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


2 Errors.
Код:
    INI_String("Drzava",PlayerInfo[playerid][pDrzava]);
    INI_String("Email",PlayerInfo[playerid][pEmail]);
??? ??? ??? ??? ??? ???


Re: undefined symbol "INI_String" - bgedition - 09.01.2015

type this "#include <YSI\y_ini>" under "#include <a_samp>"


Re: undefined symbol "INI_String" - CalvinC - 09.01.2015

You need
pawn Код:
#include <YSI\y_ini>
at the top of your script, underneath <a_samp>.

Otherwise i think you need a length, not only name and variable.
pawn Код:
INI_String(name,variable,length);



Re: undefined symbol "INI_String" - ilepopivanov - 09.01.2015

Arledy have #include <YSI\y_ini>

Код:
D:\GameMode\gamemodes\bare.pwn(313) : error 001: expected token: ")", but found "["
D:\GameMode\gamemodes\bare.pwn(313) : warning 215: expression has no effect
D:\GameMode\gamemodes\bare.pwn(313) : error 001: expected token: ";", but found "]"
D:\GameMode\gamemodes\bare.pwn(313) : error 029: invalid expression, assumed zero
D:\GameMode\gamemodes\bare.pwn(313) : fatal error 107: too many error messages on one line
Код:
    INI_String("Drzava",PlayerInfo[playerid][pDrzava], 100);
    INI_String("Email",PlayerInfo[playerid][pEmail], 100);



Re: undefined symbol "INI_String" - ilepopivanov - 09.01.2015

http://prntscr.com/5qjd6v


Re: undefined symbol "INI_String" - ilepopivanov - 09.01.2015

http://prntscr.com/5qjh9s I download from here


Re: undefined symbol "INI_String" - Raaf - 10.01.2015

You missing a parameter.

You need to add the length.