Script can be built like that?
#1

Script can be built like that? Or becuase of that my script Gamemode is "Unknown"?

Script:

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

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

#define SERVER_GM_TEXT "RP v2.1"

#include <a_samp>
main( ) { }

#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>
//End

#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"


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

public OnGameModeExit()
{
    g_mysql_Exit();
	return 1;
}
#endif
Server.cfg:
Код:
echo Executing Server Config...
lanmode 0
rcon_password dswewew
maxplayers 50
port 7785
hostname My Server
bind 66.225.195.125
gamemode0 MyScript
filterscripts yom_buttons gcustom
plugins streamer sscanf mysql Whirlpool
announce 1
query 1
weburl Coming Soon
maxnpc 0
onfoot_rate 40
incar_rate 40
weapon_rate 40
stream_distance 300.0
stream_rate 1000
rcon 0
sleep 1
mapname San Andreas
Server Logs:
Код:
----------
Loaded log file: "server_log.txt".
----------

SA-MP Dedicated Server
----------------------
v0.3x-R2, ©2005-2013 SA-MP Team

[01:29:14] 
[01:29:14] Server Plugins
[01:29:14] --------------
[01:29:14]  Loading plugin: streamer
[01:29:14] 

*** Streamer Plugin v2.6.1 by Incognito loaded ***

[01:29:14]   Loaded.
[01:29:14]  Loading plugin: sscanf
[01:29:14] 

[01:29:14]  ===============================

[01:29:14]       sscanf plugin loaded.     

[01:29:14]    © 2009 Alex "******" Cole

[01:29:14]    0.3d-R2 500 Players "dnee"

[01:29:14]  ===============================

[01:29:14]   Loaded.
[01:29:14]  Loading plugin: mysql
[01:29:14] 

  > MySQL plugin R7 successfully loaded.

[01:29:14]   Loaded.
[01:29:14]  Loading plugin: Whirlpool
[01:29:14]  
[01:29:14]  ==================
[01:29:14]  
[01:29:14]   Whirlpool loaded
[01:29:14]  
[01:29:14]  ==================
[01:29:14]  
[01:29:14]   Loaded.
[01:29:14]  Loaded 4 plugins.

[01:29:14] 
[01:29:14] Filterscripts
[01:29:14] ---------------
[01:29:14]   Loading filterscript 'yom_buttons.amx'...
[01:29:14]   Loading filterscript 'gcustom.amx'...
[01:29:14]   Loaded 2 filterscripts.

[01:29:14]  
[01:29:14]  ======================================= 
[01:29:14]  |                                     | 
[01:29:14]  |        YSI version 3.01.0002        | 
[01:29:14]  |        By Alex "******" Cole        | 
[01:29:14]  |                                     | 
[01:29:14]  ======================================= 
[01:29:14]  
[01:29:14] Script[gamemodes/MyScript.amx]: Run time error 20: "Invalid index parameter (bad entry point)"
[01:29:14] Number of vehicle models: 0
[01:29:15]  
[01:29:15]  ========================================== 
[01:29:15]
Using MySQL Database too... Please help me cuz in logs it should write me : "Loaded from MySQL Vehicles/ETC..."
Reply


Messages In This Thread
Script can be built like that? - by dimitri8 - 13.01.2014, 12:37
Re: Script can be built like that? - by Blademaster680 - 13.01.2014, 13:49
Re: Script can be built like that? - by MasterReturnz - 13.01.2014, 14:01
Re: Script can be built like that? - by Rapeassboi - 13.01.2014, 14:02
Re : Script can be built like that? - by S4t3K - 13.01.2014, 14:06
Re: Script can be built like that? - by Rapeassboi - 13.01.2014, 14:11
Re: Script can be built like that? - by dimitri8 - 13.01.2014, 15:17
Re: Script can be built like that? - by [KHK]Khalid - 13.01.2014, 16:31
Re: Script can be built like that? - by InfiniTy. - 13.01.2014, 16:44
Re: Script can be built like that? - by Pottus - 13.01.2014, 16:51

Forum Jump:


Users browsing this thread: 1 Guest(s)