Ich habe gerade die Haus Datenbank geleert und den Server restartet, dann schien alles wieder zu gehen (alle Häuser etc. wurden geladen). Hier einmal die Server Log
SA-MP Dedicated Server
----------------------
v0.3.7, (C)2005-2015 SA-MP Team
[19:34:22]
[19:34:22] Server Plugins
[19:34:22] --------------
[19:34:22] Loading plugin: Filemanager.so
[19:34:22] ******************
[19:34:22] ** FILE MANAGER **
[19:34:22] ** Loaded **
[19:34:22] ** Version 1.1 **
[19:34:22] ******************
[19:34:22] Loaded.
[19:34:22] Loading plugin: mysql.so
[19:34:22] SA:MP MySQL Plugin v2.1.1 Loaded.
[19:34:22] Loaded.
[19:34:22] [MySQL] Thread running. Threadsafe: Yes.
[19:34:22] Loading plugin: streamer.so
[19:34:22]
*** Streamer Plugin v2.6.1 by Incognito loaded ***
[19:34:22] Loaded.
[19:34:22] Loading plugin: crashdetect.so
[19:34:22] CrashDetect v4.18.1 is OK.
[19:34:22] Loaded.
[19:34:22] Loaded 4 plugins.
[19:34:22]
[19:34:22] Ban list
[19:34:22] --------
[19:34:22] Loaded: samp.ban
[19:34:22]
[19:34:22]
[19:34:22] Filterscripts
[19:34:22] ---------------
[19:34:22] Loading filterscript 'neon.amx'...
[19:34:22]
--------------------------------------
[19:34:22] Neon System By AlexzzPro
[19:34:22] --------------------------------------
[19:34:22] Loading filterscript 'HelpSystem.amx'...
[19:34:22]
--------------------------------------
[19:34:22] Help System Loadet.
[19:34:22] --------------------------------------
[19:34:22] Loading filterscript 'Races.amx'...
[19:34:22] Loading filterscript 'ego.amx'...
[19:34:22] Loading filterscript 'attachments.amx'...
[19:34:22] Loading filterscript 'fs.amx'...
[19:34:22] Loaded 6 filterscripts.
[19:34:22] [MySQL] Connected (0) to 'XXX'@'127.0.0.1 via TCP/IP'.
[19:34:22] [MySQL] Server Version 5.6.34.
[19:34:22] Geschenke wurden neu gespawnt
[19:34:22] 1: mysql_query: SELECT * FROM `houses` WHERE `HouseID` = '0'
[19:34:22] 3: Fertig
[19:34:22] 1: mysql_query: SELECT * FROM `houses` WHERE `HouseID` = '1'
[19:34:22] 3: Fertig
[19:34:22] 1: mysql_query: SELECT * FROM `houses` WHERE `HouseID` = '2'
[19:34:22] 3: Fertig
[19:34:22] 1: mysql_query: SELECT * FROM `houses` WHERE `HouseID` = '3'
[19:34:22] 3: Fertig
[19:34:22] 1: mysql_query: SELECT * FROM `houses` WHERE `HouseID` = '4'
[19:34:22] 3: Fertig
[19:34:22] 1: mysql_query: SELECT * FROM `houses` WHERE `HouseID` = '5'
[19:34:22] 3: Fertig
[19:34:22] 1: mysql_query: SELECT * FROM `houses` WHERE `HouseID` = '6'
[19:34:22] 3: Fertig
[19:34:22] 1: mysql_query: SELECT * FROM `houses` WHERE `HouseID` = '7'
[19:34:22] 3: Fertig
[19:34:22] 1: mysql_query: SELECT * FROM `houses` WHERE `HouseID` = '8'
[19:34:22] 3: Fertig
[19:34:22] 1: mysql_query: SELECT * FROM `houses` WHERE `HouseID` = '9'
[19:34:22] 3: Fertig
[19:34:22] 1: mysql_query: SELECT * FROM `houses` WHERE `HouseID` = '10'
[19:34:22] 3: Fertig
[19:34:22] 1: mysql_query: SELECT * FROM `houses` WHERE `HouseID` = '11'
[19:34:22] 3: Fertig
[19:34:22] 1: mysql_query: SELECT * FROM `houses` WHERE `HouseID` = '12'
[19:34:22] 3: Fertig
[19:34:22] 1: mysql_query: SELECT * FROM `houses` WHERE `HouseID` = '13'
[19:34:22] 3: Fertig
[19:34:22] 1: mysql_query: SELECT * FROM `houses` WHERE `HouseID` = '14'
[19:34:22] 3: Fertig
[19:34:22] 1: mysql_query: SELECT * FROM `houses` WHERE `HouseID` = '15'
[19:34:22] 3: Fertig
[19:34:22] 1: mysql_query: SELECT * FROM `houses` WHERE `HouseID` = '16'
[19:34:22] 3: Fertig
[19:34:22] 1: mysql_query: SELECT * FROM `houses` WHERE `HouseID` = '17'
[19:34:22] 3: Fertig
[19:34:22] 1: mysql_query: SELECT * FROM `houses` WHERE `HouseID` = '18'
[19:34:22] 3: Fertig
[19:34:22] 1: mysql_query: SELECT * FROM `houses` WHERE `HouseID` = '19'
[19:34:22] 3: Fertig
[19:34:22] 1: mysql_query: SELECT * FROM `houses` WHERE `HouseID` = '20'
[19:34:22] 3: Fertig
[19:34:22] 1: mysql_query: SELECT * FROM `houses` WHERE `HouseID` = '21'
[19:34:22] 3: Fertig
[19:34:22] 1: mysql_query: SELECT * FROM `houses` WHERE `HouseID` = '22'
[19:34:22] 3: Fertig
[19:34:22] 1: mysql_query: SELECT * FROM `houses` WHERE `HouseID` = '23'
[19:34:22] 3: Fertig
[19:34:22] 1: mysql_query: SELECT * FROM `houses` WHERE `HouseID` = '24'
[19:34:22] 3: Fertig
[19:34:22] 1: mysql_query: SELECT * FROM `houses` WHERE `HouseID` = '25'
[19:34:22] 3: Fertig
[19:34:22] 1: mysql_query: SELECT * FROM `houses` WHERE `HouseID` = '26'
[19:34:22] 3: Fertig
[19:34:22] 1: mysql_query: SELECT * FROM `houses` WHERE `HouseID` = '27'
[19:34:22] 3: Fertig
[19:34:22] 1: mysql_query: SELECT * FROM `houses` WHERE `HouseID` = '28'
[19:34:22] 3: Fertig
[19:34:22] 1: mysql_query: SELECT * FROM `houses` WHERE `HouseID` = '29'
[19:34:22] 3: Fertig
[19:34:22] 1: mysql_query: SELECT * FROM `houses` WHERE `HouseID` = '30'
[19:34:22] 3: Fertig
[19:34:22] 1: mysql_query: SELECT * FROM `houses` WHERE `HouseID` = '31'
[19:34:22] 3: Fertig
[19:34:22] 1: mysql_query: SELECT * FROM `houses` WHERE `HouseID` = '32'
[19:34:22] 3: Fertig
[19:34:22] 1: mysql_query: SELECT * FROM `houses` WHERE `HouseID` = '33'
[19:34:22] 3: Fertig
[19:34:22] 1: mysql_query: SELECT * FROM `houses` WHERE `HouseID` = '34'
[19:34:22] 3: Fertig
[19:34:22] 1: mysql_query: SELECT * FROM `houses` WHERE `HouseID` = '35'
[19:34:22] 3: Fertig
[19:34:22] 1: mysql_query: SELECT * FROM `houses` WHERE `HouseID` = '36'
[19:34:22] 3: Fertig
[19:34:22] 1: mysql_query: SELECT * FROM `houses` WHERE `HouseID` = '37'
[19:34:22] 3: Fertig
[19:34:22] 1: mysql_query: SELECT * FROM `houses` WHERE `HouseID` = '38'
[19:34:22] 3: Fertig
[19:34:22] 1: mysql_query: SELECT * FROM `houses` WHERE `HouseID` = '39'
[19:34:22] 3: Fertig
[19:34:22] 1: mysql_query: SELECT * FROM `houses` WHERE `HouseID` = '40'
[19:34:22] 3: Fertig
[19:34:22] 1: mysql_query: SELECT * FROM `houses` WHERE `HouseID` = '41'
[19:34:22] 3: Fertig
[19:34:22] 1: mysql_query: SELECT * FROM `houses` WHERE `HouseID` = '42'
[19:34:22] 3: Fertig
[19:34:22] 1: mysql_query: SELECT * FROM `houses` WHERE `HouseID` = '43'
[19:34:22] 3: Fertig
[19:34:22] 1: mysql_query: SELECT * FROM `houses` WHERE `HouseID` = '44'
[19:34:22] 3: Fertig
[19:34:22] 1: mysql_query: SELECT * FROM `houses` WHERE `HouseID` = '45'
[19:34:22] 3: Fertig
[19:34:22] 1: mysql_query: SELECT * FROM `houses` WHERE `HouseID` = '46'
[19:34:22] 3: Fertig
[19:34:22] 1: mysql_query: SELECT * FROM `houses` WHERE `HouseID` = '47'
[19:34:22] 3: Fertig
[19:34:22] 1: mysql_query: SELECT * FROM `houses` WHERE `HouseID` = '48'
[19:34:22] 3: Fertig
[19:34:22] 1: mysql_query: SELECT * FROM `houses` WHERE `HouseID` = '49'
[19:34:22] 3: Fertig
[19:34:22] 1: mysql_query: SELECT * FROM `houses` WHERE `HouseID` = '50'
[19:34:22] 3: Fertig
[19:34:22] 1: mysql_query: SELECT * FROM `houses` WHERE `HouseID` = '51'
[19:34:22] 3: Fertig
[19:34:22] 1: mysql_query: SELECT * FROM `houses` WHERE `HouseID` = '52'
[19:34:22] 3: Fertig
[19:34:22] 1: mysql_query: SELECT * FROM `houses` WHERE `HouseID` = '53'
[19:34:22] 3: Fertig
[19:34:22] 1: mysql_query: SELECT * FROM `houses` WHERE `HouseID` = '54'
[19:34:22] 3: Fertig
[19:34:22] 1: mysql_query: SELECT * FROM `houses` WHERE `HouseID` = '55'
[19:34:22] 3: Fertig
[19:34:22] 1: mysql_query: SELECT * FROM `houses` WHERE `HouseID` = '56'
[19:34:22] 3: Fertig
[19:34:22] 1: mysql_query: SELECT * FROM `houses` WHERE `HouseID` = '57'
[19:34:22] 3: Fertig
[19:34:22] 1: mysql_query: SELECT * FROM `houses` WHERE `HouseID` = '58'
[19:34:22] 3: Fertig
[19:34:22] 1: mysql_query: SELECT * FROM `houses` WHERE `HouseID` = '59'
[19:34:22] 3: Fertig
[19:34:22] 1: mysql_query: SELECT * FROM `houses` WHERE `HouseID` = '60'
[19:34:22] 3: Fertig
[19:34:22] 1: mysql_query: SELECT * FROM `houses` WHERE `HouseID` = '61'
[19:34:22] 3: Fertig
[19:34:22] 1: mysql_query: SELECT * FROM `houses` WHERE `HouseID` = '62'
[19:34:22] 3: Fertig
[19:34:22] 1: mysql_query: SELECT * FROM `houses` WHERE `HouseID` = '63'
[19:34:22] 3: Fertig
[19:34:22] 1: mysql_query: SELECT * FROM `houses` WHERE `HouseID` = '64'
[19:34:22] 3: Fertig
[19:34:22] 1: mysql_query: SELECT * FROM `houses` WHERE `HouseID` = '65'
[19:34:22] 3: Fertig
[19:34:22] 1: mysql_query: SELECT * FROM `houses` WHERE `HouseID` = '66'
[19:34:22] 3: Fertig
[19:34:22] 1: mysql_query: SELECT * FROM `houses` WHERE `HouseID` = '67'
[19:34:22] 3: Fertig
[19:34:22] 1: mysql_query: SELECT * FROM `houses` WHERE `HouseID` = '68'
[19:34:22] 3: Fertig
[19:34:22] 1: mysql_query: SELECT * FROM `houses` WHERE `HouseID` = '69'
[19:34:22] 3: Fertig
[19:34:22] 1: mysql_query: SELECT * FROM `houses` WHERE `HouseID` = '70'
[19:34:22] 3: Fertig
[19:34:22] 1: mysql_query: SELECT * FROM `houses` WHERE `HouseID` = '71'
[19:34:22] 3: Fertig
[19:34:22] 1: mysql_query: SELECT * FROM `houses` WHERE `HouseID` = '72'
[19:34:22] 3: Fertig
[19:34:22] 1: mysql_query: SELECT * FROM `houses` WHERE `HouseID` = '73'
[19:34:22] 3: Fertig
[19:34:22] 1: mysql_query: SELECT * FROM `houses` WHERE `HouseID` = '74'
[19:34:22] 3: Fertig
[19:34:22] 1: mysql_query: SELECT * FROM `houses` WHERE `HouseID` = '75'
[19:34:22] 3: Fertig
[19:34:22] 1: mysql_query: SELECT * FROM `houses` WHERE `HouseID` = '76'
[19:34:22] 3: Fertig
[19:34:22] 1: mysql_query: SELECT * FROM `houses` WHERE `HouseID` = '77'
[19:34:22] 3: Fertig
[19:34:22] 1: mysql_query: SELECT * FROM `houses` WHERE `HouseID` = '78'
[19:34:22] 3: Fertig
[19:34:22] 1: mysql_query: SELECT * FROM `houses` WHERE `HouseID` = '79'
[19:34:22] 3: Fertig
[19:34:22] 1: mysql_query: SELECT * FROM `houses` WHERE `HouseID` = '80'
[19:34:22] 3: Fertig
[19:34:22] 1: mysql_query: SELECT * FROM `houses` WHERE `HouseID` = '81'
[19:34:22] 3: Fertig
[19:34:22] 1: mysql_query: SELECT * FROM `houses` WHERE `HouseID` = '82'
[19:34:22] 3: Fertig
[19:34:22] 1: mysql_query: SELECT * FROM `houses` WHERE `HouseID` = '83'
[19:34:22] 3: Fertig
[19:34:22] 1: mysql_query: SELECT * FROM `houses` WHERE `HouseID` = '84'
[19:34:22] 3: Fertig
[19:34:22] 1: mysql_query: SELECT * FROM `houses` WHERE `HouseID` = '85'
[19:34:22] 3: Fertig
[19:34:22] 1: mysql_query: SELECT * FROM `houses` WHERE `HouseID` = '86'
[19:34:22] 3: Fertig
[19:34:22] 1: mysql_query: SELECT * FROM `houses` WHERE `HouseID` = '87'
[19:34:22] 3: Fertig
[19:34:22] 1: mysql_query: SELECT * FROM `houses` WHERE `HouseID` = '88'
[19:34:22] 3: Fertig
[19:34:22] 1: mysql_query: SELECT * FROM `houses` WHERE `HouseID` = '89'
[19:34:22] 3: Fertig
[19:34:22] 1: mysql_query: SELECT * FROM `houses` WHERE `HouseID` = '90'
[19:34:22] 3: Fertig
[19:34:22] 1: mysql_query: SELECT * FROM `houses` WHERE `HouseID` = '91'
[19:34:22] 3: Fertig
[19:34:22] 1: mysql_query: SELECT * FROM `houses` WHERE `HouseID` = '92'
[19:34:22] 3: Fertig
[19:34:22] 1: mysql_query: SELECT * FROM `houses` WHERE `HouseID` = '93'
[19:34:22] 3: Fertig
[19:34:22] 1: mysql_query: SELECT * FROM `houses` WHERE `HouseID` = '94'
[19:34:22] 3: Fertig
[19:34:22] 1: mysql_query: SELECT * FROM `houses` WHERE `HouseID` = '95'
[19:34:22] 3: Fertig
[19:34:22] 1: mysql_query: SELECT * FROM `houses` WHERE `HouseID` = '96'
[19:34:22] 3: Fertig
[19:34:22] 1: mysql_query: SELECT * FROM `houses` WHERE `HouseID` = '97'
[19:34:22] 3: Fertig
[19:34:22] 1: mysql_query: SELECT * FROM `houses` WHERE `HouseID` = '98'
[19:34:22] 3: Fertig
[19:34:22] 1: mysql_query: SELECT * FROM `houses` WHERE `HouseID` = '99'
[19:34:22] 3: Fertig
[19:34:22] 1: mysql_query: SELECT * FROM `houses` WHERE `HouseID` = '100'
[19:34:22] 3: Fertig
[19:34:22] 1: mysql_query: SELECT * FROM `houses` WHERE `HouseID` = '101'
[19:34:22] 3: Fertig
[19:34:22] 1: mysql_query: SELECT * FROM `houses` WHERE `HouseID` = '102'
[19:34:22] 3: Fertig
[19:34:22] 1: mysql_query: SELECT * FROM `houses` WHERE `HouseID` = '103'
[19:34:22] 3: Fertig
[19:34:22] 1: mysql_query: SELECT * FROM `houses` WHERE `HouseID` = '104'
[19:34:22] 3: Fertig
[19:34:22] 1: mysql_query: SELECT * FROM `houses` WHERE `HouseID` = '105'
[19:34:22] 3: Fertig
[19:34:22] 1: mysql_query: SELECT * FROM `houses` WHERE `HouseID` = '106'
[19:34:22] 3: Fertig
[19:34:22] 1: mysql_query: SELECT * FROM `houses` WHERE `HouseID` = '107'
[19:34:22] 3: Fertig
[19:34:22] 1: mysql_query: SELECT * FROM `houses` WHERE `HouseID` = '108'
[19:34:22] 3: Fertig
[19:34:22] 1: mysql_query: SELECT * FROM `houses` WHERE `HouseID` = '109'
[19:34:22] 3: Fertig
[19:34:22] 1: mysql_query: SELECT * FROM `houses` WHERE `HouseID` = '110'
[19:34:22] 3: Fertig
[19:34:22] 1: mysql_query: SELECT * FROM `houses` WHERE `HouseID` = '111'
[19:34:22] 3: Fertig
[19:34:22] 1: mysql_query: SELECT * FROM `houses` WHERE `HouseID` = '112'
[19:34:22] 3: Fertig
[19:34:22] 1: mysql_query: SELECT * FROM `houses` WHERE `HouseID` = '113'
[19:34:22] 3: Fertig
[19:34:22] 1: mysql_query: SELECT * FROM `houses` WHERE `HouseID` = '114'
[19:34:22] 3: Fertig
[19:34:22] 1: mysql_query: SELECT * FROM `houses` WHERE `HouseID` = '115'
[19:34:22] 3: Fertig
[19:34:22] 1: mysql_query: SELECT * FROM `houses` WHERE `HouseID` = '116'
[19:34:22] 3: Fertig
[19:34:22] 1: mysql_query: SELECT * FROM `houses` WHERE `HouseID` = '117'
[19:34:22] 3: Fertig
[19:34:22] 1: mysql_query: SELECT * FROM `houses` WHERE `HouseID` = '118'
[19:34:22] 3: Fertig
[19:34:22] 1: mysql_query: SELECT * FROM `houses` WHERE `HouseID` = '119'
[19:34:22] 3: Fertig
[19:34:22] 1: mysql_query: SELECT * FROM `houses` WHERE `HouseID` = '120'
[19:34:22] 3: Fertig
[19:34:22] 1: mysql_query: SELECT * FROM `houses` WHERE `HouseID` = '121'
[19:34:22] 3: Fertig
[19:34:22] 1: mysql_query: SELECT * FROM `houses` WHERE `HouseID` = '122'
[19:34:22] 3: Fertig
[19:34:22] 1: mysql_query: SELECT * FROM `houses` WHERE `HouseID` = '123'
[19:34:22] 3: Fertig
[19:34:22] 1: mysql_query: SELECT * FROM `houses` WHERE `HouseID` = '124'
[19:34:22] 3: Fertig
[19:34:22] 1: mysql_query: SELECT * FROM `houses` WHERE `HouseID` = '125'
[19:34:22] 3: Fertig
[19:34:22] 1: mysql_query: SELECT * FROM `houses` WHERE `HouseID` = '126'
[19:34:22] 3: Fertig
[19:34:22] 1: mysql_query: SELECT * FROM `houses` WHERE `HouseID` = '127'
[19:34:22] 3: Fertig
[19:34:22] 1: mysql_query: SELECT * FROM `houses` WHERE `HouseID` = '128'
[19:34:22] 3: Fertig
[19:34:22] 1: mysql_query: SELECT * FROM `houses` WHERE `HouseID` = '129'
[19:34:22] 3: Fertig
[19:34:22] 1: mysql_query: SELECT * FROM `houses` WHERE `HouseID` = '130'
[19:34:22] 3: Fertig
[19:34:22] OnGamemodeInt: LoadProperty
[19:34:22] OnGamemodeInt: LoadBiz
[19:34:22] OnGamemodeInt: LoadSBiz
[19:34:22] Tanken laden
[19:34:22] Tanken laden
[19:34:22] Tanken laden
[19:34:22] Tanken laden
[19:34:22] Tanken laden
[19:34:22] Tanken laden
[19:34:22] Tanken laden
[19:34:22] Tanken laden
[19:34:22] Tanken laden
[19:34:22] Tanken laden
[19:34:22] Tanken laden
[19:34:22] Tanken laden
[19:34:22] Tanken laden
[19:34:22] Tanken laden
[19:34:22] Tanken laden
[19:34:22] Tanken laden
[19:34:22] Tanken laden
[19:34:22] Tanken laden
[19:34:22] Tanken laden
[19:34:22] Tanken laden
[19:34:22] Tanken laden
[19:34:22] OnGamemodeInt: LoadTankenBiz
[19:34:22] OnGamemodeInt: LoadGangAutos
[19:34:22] GangBox geladen
[19:34:22] OnGamemodeInt: LoadGangBox
[19:34:22] OnGamemodeInt: LoadStuff
[19:34:22] OnGamemodeInt: LoadKassenInfo
[19:34:22] OnGamemodeInt: LoadGangfightZones
[19:34:22] Gangwars geladen
[19:34:22] OnGamemodeInt: LoadGangWarInfos
[19:34:22] OnGamemodeInt: LoadGangBNDInfos
[19:34:22] OnGamemodeInt: Stock CObjecte geladen
[19:34:22] OnGamemodeInt: Stock CDObjecte geladen
[19:34:22] OnGamemodeInt: Stock OGMCars geladen
[19:34:22] OnGamemodeInt: Gangzonen wurden erstellt
[19:34:22] OnGamemodeInt: Textdraws Geladen
[19:34:22] AntiDeAMX aufgerufen
[19:34:22] OnGamemodeInt: GameModeText & mapname
[19:34:22] vor OnPropUpdate
[19:34:22] SaveServer OnPropUpdate
[19:34:22] SaveServer SaveKassenInfo
[19:34:23] GangAutos Geladen
[19:34:23] SaveServer SaveGangAutos
[19:34:23] SaveServer SaveStuff
[19:34:23] SaveServer SaveGangfightZones
[19:34:23] SaveServer SaveGangWarInfos
[19:34:23] SaveServer SaveGangBNDInfos
[19:34:23] OnGamemodeInt: UpdateTime Geladen
[19:34:23] [debug] Run time error 4: "Array index out of bounds"
[19:34:23] [debug] Attempted to read/write array element at index 65535 in array of size 2000
[19:34:23] [debug] AMX backtrace:
[19:34:23] [debug] #0 000b874c in public CreateGangAutos () at C:\Users\Name\Desktop\Script\gamemodes\IR.pwn:15257
[19:34:23] [debug] #1 00116dd8 in public Itter_OnGameModeInit () at C:\Users\Name\Desktop\Script\gamemodes\IR.pwn:17982
[19:34:23] [debug] #2 native CallLocalFunction () from samp03svr
[19:34:23] [debug] #3 00002cd0 in public OnGameModeInit () at C:\Users\Name\Desktop\Script\pawno\include\foreach.inc:689
Alles anzeigen
Wenn er CreateGangAutos(); aufrufen möchte, hängts dann wieder, OnGameModeInit wird also nicht ganz durchlaufen wodurch andere Sachen dann dementsprechend auch nicht gehen.
Hier einmal OnGameModeInit
public OnGameModeInit()
{
CreateDynamicObject(18750,221.14,1761.49, 42.12,90.00,0.00,20.33,1337);
MySQLConnection = mysql_init();
mysql_connect(MySQL_Host, MySQL_User, MySQL_Passwort, MySQL_DB, MySQLConnection);
GeschenkeSpawnen();
GStimer = SetTimer("GeschenkeSpawnen", GESCHENK_ZEIT*60*1000,1);
new string[MAX_PLAYER_NAME],
string1[MAX_PLAYER_NAME],
string2[256];
LoadProperty();
printf("OnGamemodeInt: LoadProperty");
/*LoadFreunde();
printf("OnGamemodeInt: LoadFreunde");*/
LoadBiz();
printf("OnGamemodeInt: LoadBiz");
LoadSBiz();
printf("OnGamemodeInt: LoadSBiz");
LoadTankenBiz();
printf("OnGamemodeInt: LoadTankenBiz");
LoadGangAutos();
printf("OnGamemodeInt: LoadGangAutos");
LoadGangBox();
printf("OnGamemodeInt: LoadGangBox");
LoadStuff();
printf("OnGamemodeInt: LoadStuff");
LoadKassenInfo();
printf("OnGamemodeInt: LoadKassenInfo");
LoadGangfightZones();
printf("OnGamemodeInt: LoadGangfightZones");
LoadGangWarInfos();
printf("OnGamemodeInt: LoadGangWarInfos");
LoadGangBNDInfos();
printf("OnGamemodeInt: LoadGangBNDInfos");
CObjecte();
printf("OnGamemodeInt: Stock CObjecte geladen");
CDObjecte();
printf("OnGamemodeInt: Stock CDObjecte geladen");
OGMCars();
printf("OnGamemodeInt: Stock OGMCars geladen");
nodmzonen();
printf("OnGamemodeInt: Gangzonen wurden erstellt");
textdrawsogm();
printf("OnGamemodeInt: Textdraws Geladen");
AntiDeAMX();
printf("AntiDeAMX aufgerufen");
SetGameModeText(""SERVER_TAG" V1.0");
SendRconCommand("mapname "SERVER_TAG" V1.0");
printf("OnGamemodeInt: GameModeText & mapname");
UpdateTime();
printf("OnGamemodeInt: UpdateTime Geladen");
CreateGangAutos();
printf(">>>>> Create3DTexte Beginn <<<<<");
Create3DTexte();
printf(">>>>> Create3DTexte Fertig <<<<<");
SObjecte();
printf("OnGamemodeInt: SObjecte Geladen");
OGMPickups();
printf("OnGamemodeInt: OGMPickups Geladen");
printf("OnGamemodeInt: Biginne rest zu laden");
SetNameTagDrawDistance(30.0);
EnableStuntBonusForAll(0);
AllowInteriorWeapons(1);
ShowPlayerMarkers(400);
AllowAdminTeleport(1);
DisableInteriorEnterExits();
ManualVehicleEngineAndLights();
MenuSkinauswahl = CreateMenu("Skinauswahl", 3, 20.0, 200.0, 160.0, 0.0);
AddMenuItem(MenuSkinauswahl, 0, "Weiter");
AddMenuItem(MenuSkinauswahl, 0, "Zuruck");
AddMenuItem(MenuSkinauswahl, 0, "OK");
printf("Textdraws erstelt");
for(new veh = 0; veh < MAX_VEHICLES; veh++){
Gas[veh] = GasMax;
VehicleObject[veh] = -1;
}
for(new i = 0; i < sizeof(AdminObjects); i++){
AdminObjects[i][AObjectID] = -1;
}
for(new van = 0; van < 20; van++){
HackerVans[van][MieterID] = -1;
HackerVans[van][Aktive] = 0;
}
for(new i=0;i<MAX_VEHICLES;i++){
for(new a=0;a!=4;a++){
VehicleSlot[i][a][WeaponID] = 0;
VehicleSlot[i][a][vMunition] = 0;
}
}
for(new i = 0; i < sizeof(OffPickup); i++)
{
OffPickup[i][OffErstellt] = 0;
OffPickup[i][OffZeit] = -1;
OffPickup[i][OffStatus] = 0;
DestroyPickup(OffPickup[i][OffPickupID]);
Delete3DTextLabel(Text3D:OffLabelID[i]);
}
News[hTaken1] = 0; News[hTaken2] = 0; News[hTaken3] = 0; News[hTaken4] = 0; News[hTaken5] = 0;
format(string, sizeof(string), "Nothing");
strmid(News[hAdd1], string, 0, strlen(string), 255);
strmid(News[hAdd2], string, 0, strlen(string), 255);
strmid(News[hAdd3], string, 0, strlen(string), 255);
strmid(News[hAdd4], string, 0, strlen(string), 255);
strmid(News[hAdd5], string, 0, strlen(string), 255);
format(string1, sizeof(string1), "Niemand");
strmid(News[hContact1], string1, 0, strlen(string1), 255);
strmid(News[hContact2], string1, 0, strlen(string1), 255);
strmid(News[hContact3], string1, 0, strlen(string1), 255);
strmid(News[hContact4], string1, 0, strlen(string1), 255);
strmid(News[hContact5], string1, 0, strlen(string1), 255);
PlayerHaul[1][pCapasity] = 150;
PlayerHaul[2][pCapasity] = 150;
PlayerHaul[3][pCapasity] = 150;
PlayerHaul[4][pCapasity] = 150;
PlayerHaul[5][pCapasity] = 75;
PlayerHaul[6][pCapasity] = 75;
PlayerHaul[7][pCapasity] = 75;
for(new i = 0; i < sizeof(KorierVans); i++){
KorierVans[i][KRVermietet] = 0;
KorierVans[i][KRMieterID] = -1;
KorierVans[i][KRZiehlHaus] = -1;
KorierVans[i][KRMoney] = 0;
}
for(new DBID = 0; DBID < sizeof(DropBoxInfo); DBID++){
DropBoxInfo[DBID][DBPickupID] = -1;
}
for(new i = 0; i < sizeof(AdminCar); i++){
AdminCar[i][ATOOwnerID] = -1;
}
for(new i = 0; i < sizeof(Kaufliste); i++){
Kaufliste[i][Carid] = CreateVehicle(Kaufliste[i][Modelid],Kaufliste[i][pos_x],Kaufliste[i][pos_y],Kaufliste[i][pos_z],Kaufliste[i][z_angle],-1,-1,-1);
}
for(new i = 0; i < sizeof(GangAutoKaufliste); i++){
new KauflisteString[512];
GangAutoKaufliste[i][GACarid] = CreateVehicle(GangAutoKaufliste[i][GAModelid],GangAutoKaufliste[i][GApos_x],GangAutoKaufliste[i][GApos_y],GangAutoKaufliste[i][GApos_z],GangAutoKaufliste[i][GAz_angle],-1,-1,1500);
format(KauflisteString, sizeof(KauflisteString), "Name: %s\nPreis: %s$\nReparaturkosten: %s$", GangAutoKaufliste[i][GAName], GetPoint(GangAutoKaufliste[i][GAPreis]), GetPoint(GangAutoKaufliste[i][GAReparatur]));
Create3DTextLabel(KauflisteString, 0x21DD00FF, GangAutoKaufliste[i][GApos_x], GangAutoKaufliste[i][GApos_y], GangAutoKaufliste[i][GApos_z]+0.50,10.0,0,1);
SetVehicleVirtualWorld(GangAutoKaufliste[i][GACarid],0);
LinkVehicleToInterior(GangAutoKaufliste[i][GACarid],0);
}
for(new h = 0; h < sizeof(AutomatikPortInfo); h++){
new apname[64];
AutomatikPortInfo[h][APAusgangPickup] = CreatePickup(1559, 23, AutomatikPortInfo[h][APAusgangX], AutomatikPortInfo[h][APAusgangY], AutomatikPortInfo[h][APAusgangZ],-1);
AutomatikPortInfo[h][APEingangPickup] = CreatePickup(AutomatikPortInfo[h][APPickup], 23, AutomatikPortInfo[h][APEingangX], AutomatikPortInfo[h][APEingangY], AutomatikPortInfo[h][APEingangZ]+0.2,-1);
format(apname, sizeof(apname), "{7DFF00}%s\n{FFFFFF}Automatischer Port", AutomatikPortInfo[h][APName]);
Create3DTextLabel(apname, 0x91FF00FF, AutomatikPortInfo[h][APEingangX], AutomatikPortInfo[h][APEingangY], AutomatikPortInfo[h][APEingangZ]+0.50,10.0,0,1);
}
Waffentransporter[1] = CreateVehicle(414, 2618.7483, -2223.7781, 13.3512, 89.6388, -1, -1, 100);
Waffentransporter[2] = CreateVehicle(414, 2618.4583, -2229.2229, 13.3512, 89.6388, -1, -1, 100);
Waffentransporter[3] = CreateVehicle(414, 2611.1052, -2223.7903, 13.3512, 89.6388, -1, -1, 100);
Waffentransporter[4] = CreateVehicle(414, 2610.8577, -2229.2346, 13.3512, 89.6388, -1, -1, 100);
Waffentransporter[5] = CreateVehicle(414, 2603.6233, -2223.7773, 13.3512, 89.6388, -1, -1, 100);
Waffentransporter[6] = CreateVehicle(414, 2603.3562, -2229.2625, 13.3512, 89.6388, -1, -1, 100);
Waffentransporter[7] = CreateVehicle(414, 2595.7329, -2223.7896, 13.3512, 89.6388, -1, -1, 100);
Waffentransporter[8] = CreateVehicle(414, 2595.3958, -2229.1082, 13.3512, 89.6388, -1, -1, 100);
for(new h = 0; h < sizeof(GangHausInfo); h++){
format(string2, sizeof(string2), "Dieses Haus gehört:\n{005FFF}%s",GangHausInfo[h][GHGangName]);
Create3DTextLabel(string2,COLOR_WHITE,GangHausInfo[h][GHEingangX],GangHausInfo[h][GHEingangY],GangHausInfo[h][GHEingangZ]+1.0,15.0,0,0);
CreatePickup(1239, 23, GangHausInfo[h][GHEingangX], GangHausInfo[h][GHEingangY], GangHausInfo[h][GHEingangZ]);
}
for(new SlotID = 0; SlotID < sizeof(RentSystemInfo); SlotID++){
RentSystemInfo[SlotID][RSCarID] = CreateVehicle(RentSystemInfo[SlotID][RSModelID],RentSystemInfo[SlotID][RSX],RentSystemInfo[SlotID][RSY],RentSystemInfo[SlotID][RSZ],RentSystemInfo[SlotID][RSRotZ],1,1,300);
}
for(new i = 0; i < sizeof(EightBallTrackCars); i++){
LinkVehicleToInterior(EightBallTrackCars[i], 7);
SetVehicleVirtualWorld(EightBallTrackCars[i], 10);
}
for(new i = 0; i < sizeof(DerbyArenaCars); i++){
LinkVehicleToInterior(DerbyArenaCars[i], 15);
SetVehicleVirtualWorld(DerbyArenaCars[i], 10);
}
for(new i = 0; i < sizeof(DirtTrackCars); i++){
LinkVehicleToInterior(DirtTrackCars[i], 4);
SetVehicleVirtualWorld(DirtTrackCars[i], 10);
}
for(new i = 0; i < sizeof(StuntingCars); i++){
LinkVehicleToInterior(StuntingCars[i], 14);
SetVehicleVirtualWorld(StuntingCars[i], 10);
}
//---------------------------------------------------------------------------------------------
for(new i = 0; i < sizeof(GangBoxSystem); i++)
{
CreateObject(964,GangBoxSystem[i][GWSObjectPosX],GangBoxSystem[i][GWSObjectPosY],GangBoxSystem[i][GWSObjectPosZ],0,0,GangBoxSystem[i][GWSObjectPosRot]);
}
for(new i = 0; i < sizeof(SprunkSystemInfo); i++){
CreateDynamicObject(1775, SprunkSystemInfo[i][SSX],SprunkSystemInfo[i][SSY],SprunkSystemInfo[i][SSZ],SprunkSystemInfo[i][SSRotX],SprunkSystemInfo[i][SSRotY],SprunkSystemInfo[i][SSRotZ]);
}
alGate = CreateObject(980, -220.1714, 2613.0977, 64.4015, 0.0, 0.0, 0.0, 100.0);
Create3DTextLabel("Pig Pen\nZum betreten: 'N' drücken", COLOR_WHITE, 2421.5386,-1220.1390,25.5038, 20.0, 0);
Create3DTextLabel("Nutze '/tresorrob' um das Dynamit anzubringen.\nfür Cops '/defuse'\n\nDesktop/ESC gehen Verboten.",COLOR_WHITE,-1978.8785,440.0459,26.7860,20.0,0); //SF
Create3DTextLabel("Nutze '/tresorrob' um das Dynamit anzubringen.\nfür Cops '/defuse'\n\nDesktop/ESC gehen Verboten.",COLOR_WHITE,307.8822,-1489.5341,24.5938,20.0,0); //LS
Create3DTextLabel("Nutze '/tresorrob' um das Dynamit anzubringen.\nfür Cops '/defuse'\n\nDesktop/ESC gehen Verboten.",COLOR_WHITE, 2486.1528,2357.7495,4.2109,20.0,0); //LV
Create3DTextLabel("/menu",COLOR_RED,1189.5106,-894.9534,43.2264,10.0,0,0);
Create3DTextLabel("/ausruestung",COLOR_RED,1218.1097,-1337.5635,3.0900,10.0,0,0);
//Timer
printf("OnGamemodeInt: Timer werden geladen");
SetTimer("SekundenTimer1", 1000, true);
SetTimer("SekundenTimer3", 950, true);
SetTimer("SekundenTimer6", 990, true);
SetTimer("VollgasTimer", 1000, true);
SetTimer("BlitzTimer", 600, true);
SetTimer("STDCheck", 30000, true);
SetTimer("CheckGas", 20000, true);
SetTimer("MinutenTimer", 60000, true);
SetTimer("PickupTimer", 1000, true);
SetTimer("TextdrawBot", 60000, true);
TextdrawBot();
printf("OnGamemodeInt: Timer wurden geladen");
for(new veh = 0; veh < MAX_VEHICLES; veh++)
{
if ( veh != INVALID_VEHICLE_ID && veh != -1 )
{
SetVehicleToRespawn(veh);
sirene[veh] = -1;
sirene1[veh] = -1;
sirene2[veh] = -1;
sirene3[veh] = -1;
}
}
printf("OnGamemodeInt: Fahrzeuge wurden respawnt");
printf(">>>>> Autos wurden erfolgreich respawnt <<<<<");
printf(">>>>> Server erfolgreich gestartet <<<<<");
AddPlayerClass(101,1198.8840,-902.8647,48.0625,90, 0, 0, 0, 0, 0, 0);
AllowConnect = 1;
return 1;
}
und hier CreateGangAutos();
public CreateGangAutos()
{
new string[255];
printf("1");
for(new h = 0; h < sizeof(GangAutoInfo); h++)
{
printf("2");
if(GangAutoInfo[h][cTyp] != -1)
{
printf("3");
if(GangAutoInfo[h][cStatus] == 0)
{
printf("4");
GangAutoInfo[h][cID] = CreateVehicle(GangAutoInfo[h][cTyp],GangAutoInfo[h][cPosX],GangAutoInfo[h][cPosY],GangAutoInfo[h][cPosZ],GangAutoInfo[h][cRot],GangAutoInfo[h][cColor1],GangAutoInfo[h][cColor2],GangAutoInfo[h][cReSpawnTime]);
Gas[GangAutoInfo[h][cID]] = GangAutoInfo[h][cTank];
format(string, sizeof(string), "{FFFF00}"SERVER_TAG"-{21DD00}%d", GangAutoInfo[h][cID]);
SetVehicleNumberPlate(GangAutoInfo[h][cID],string);
}
}
}
GangCarTune();
return 1;
}
Hast du vielleicht eine Idee?
Edit: Jetzt wo der Server die Datenbank Einträge erstellt hat, kommt es wieder zum Problem das die Häuser nicht geladen werden...
Gruß