help with error y_ini ( YSI 4.0 )
#1

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"

Reply
#2

Do you've the YSI folder in your Pawno folder?
Reply
#3

please post the line 633 and 628
Reply
#4

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.
Reply
#5

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)
{

Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)