Cannot read file from file: "cache_get_data"
#1

Guys, I need help fast...

Код:
			/*  ---------------- SCRIPT REVISION ----------------- */

// Do not forget to change this everytime you commit - it's mandatory!


/* Warning fix by Rellex */
#pragma unused NationSel_HandleNationSelection
#pragma unused NationSel_InitNationNameText
#pragma unused NationSel_SetupSelectedNation
#pragma unused NationSel_SwitchToNextNation
#pragma unused NationSel_SwitchToPrevNation
/* End of fix list */


#define SERVER_GM_TEXT "E:RP v1.5.020"

#include <a_samp>
#include <a_mysql>	
#include <streamer>
#include <yom_buttons>		
#include <ZCMD>
#include <sscanf2>
#include <foreach>
#include <YSI\y_timers>
#include <YSI\y_utils>
#if defined SOCKET_ENABLED
#include <socket>

#endif
#include "./includes/defines.pwn"
#include "./includes/enums.pwn"
#include "./includes/variables.pwn"
#include "./includes/timers.pwn"
#include "./includes/functions.pwn"
#include "./includes/commands.pwn"
#include "./includes/mysql.pwn"
#include "./includes/OnPlayerLoad.pwn"
#include "./includes/callbacks.pwn"
#include "./includes/textdraws.pwn"
#include "./includes/streamer.pwn"
#include "./includes/OnDialogResponse.pwn"

/* -------------- Server -------------*/
#define SQl_HOST "localhost"
#define SQL_USER "root"
#define SQL_PASS ""
#define SQL_DB "ron"
/* -------------- Server -----------*/

/* =========== MySQL ========= */
#include cache_get_data
#include cache_get_field_content
#include mysql_tquery
#include mysql_escape_string
#include mysql_stat
#include mysql_log
#include mysql_connect
#include mysql_errno
#include mysql_close
#include cache_get_row
#include cache_insert_id
#include cache_affected_rows
/* ========== MySQL ========== */

main() {}

public OnGameModeInit()
{
	print("Preparing the gamemode, please wait...");
	g_mysql_Init();
	return 1;
}

public OnGameModeExit()
{
    g_mysql_Exit();
	return 1;
}
The problem is with that, its not reading cache_get_data, what to do? ?
#include cache_get_data
#include cache_get_field_content
#include mysql_tquery
#include mysql_escape_string
#include mysql_stat
#include mysql_log
#include mysql_connect
#include mysql_errno
#include mysql_close
#include cache_get_row
#include cache_insert_id
#include cache_affected_rows
Reply
#2

Help me
Reply
#3

You don't have that file in your includes folder (quite possibly)
Reply
#4

All your #includes after
Quote:

/* =========== MySQL ========= */

are already "included" in a_mysql.inc. Make sure you have an up to date mysql include/plugin and that's all, you should be able to use these functions.
Reply
#5

If I will remove all the includes its will do for me errors.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)