Startup Error
#1

Hi guys,
I'm having a little problem...
I just started my server.exe and it returned
Код:
Script[gamemodes/name.amx]: Run time error 22: "AMX not initialized (or doubly initialized)"
in the server console..
All I changed was just adding a new array variable and using at some places in the script.. The script should be alright as it doesn't give me an error while compiling...
I had a similar problem once before in the same gamemode when adding a new array (3 dimensional)..
Any idea what could cause this?
Reply
#2

In the server.cfg file is your gamemode line like this
Код:
gamemode0 Name 1
If else, make sure you didn't miss a letter or mistyped it or in Capitals
Reply
#3

my server.cfg is alright.. I didn't re-name the gamemode and neither changed anything in the server.cfg.. Even after checking, it's correct^^
Reply
#4

Just a question.
Do you have the .amx at your gamemode folder
Reply
#5

@kostas: ofc.. if I hadn't the console would start and close straight away... In my case it stays open, and prints the error
@Joey: doesn't work

Edit: Update: even after having removed again all the stuff from the code, it still doesn't work..
Reply
#6

hm... I haven't used "#emit" at all...
I'll try to use an old backup and re-change all the stuff and try to find the trouble-causing part I guess...
(I'll inform you if I found it)

oh yea and my arrays are 2d with third dimension as enum
Reply
#7

hm... it happens whenever I use this 2 / 3 dimensional array..
pawn Код:
new MyMission[1][][MissionStyle]
Reply
#8

another update (very sorry for the third post by myself in a row, although I guess that's more useful atm than editing it, as I suppose noone would notice it then)

when I remove the 1 in the first dimension (so from [1][][MissionStyle] to [][][MissionStyle]) it works...
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)