error 029: invalid expression, assumed zero
#1

Код:
			/*  ---------------- 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 "BG: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"

main() []

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

public OnGameModeExit()
{
    g_mysql_Exit();
	return 1;
}
Reply
#2

pawn Код:
main() []
Since this is a script error, please post it in 'scripting discussion' next time. You have used the wrong brackets, as main() is a function
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)