help with error y_ini ( YSI 4.0 ) - 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: help with error y_ini ( YSI 4.0 ) (
/showthread.php?tid=501978)
help with error y_ini ( YSI 4.0 ) -
Schocc - 21.03.2014
My intention is to test y_uvar y_users.
how to Solve?
Код:
#include <a_samp>
#define PP_YSI
#define MODE_NAME "example_mode"
#include <YSI\y_users>
#include <YSI\y_uvar>
enum E_DATA
{
flag1,
flag2
}
uvar P_DATA[MAX_PLAYERS][E_DATA];
main(){}
public OnGameModeInit()
{
Langs_AddLanguage("PT", "Portuguкs");
SetGameModeText("Blank Script");
AddPlayerClass(0, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
return 1;
}
Quote:
\pawno\include\YSI\..\YSI_Players\y_users/ini.inc(633) : error 017: undefined symbol "INI_WriteArray"
\pawno\include\YSI\..\YSI_Players\y_users/ini.inc(62 : warning 203: symbol is never used: "len"
|
Re: help with error y_ini ( YSI 4.0 ) -
Carac - 21.03.2014
Do you've the YSI folder in your Pawno folder?
Re: help with error y_ini ( YSI 4.0 ) - Guest4390857394857 - 21.03.2014
please post the line 633 and 628
Re: help with error y_ini ( YSI 4.0 ) -
Schocc - 21.03.2014
Quote:
Originally Posted by ShivRp
please post the line 633 and 628
|
File:
Quote:
\pawno\include\YSI_Players\y_users\ini.inc
|
Possibly this is a bug in version 4.0,
I tested with version 3.1 and no error occurred.
Re: help with error y_ini ( YSI 4.0 ) -
Schocc - 25.03.2014
SOLVED...
I have a solution to this problem.
The stock was simply uncomment this file.
Quote:
pawno\include\YSI_Storage\y_ini\writing.inc
Line 628, remove the /**/ on stock, and save the file.
/*stock INI_WriteArray(INI:file, const name[], data[], len)
{
|