Crazy compilers!
#1

I've found what was causing the problems:

I'm using DjSon by Draco Blue to store and retrieve data.

I've found that if I do:

pawn Код:
GetInt( playerid, string[] )
{
     return djInt(PlayerName(playerid),string);
}
it doesn't work and messes up my whole script.

i have to do:

pawn Код:
GetInt( playerid, string[] )
{
     new value = djInt(PlayerName(playerid),string);
     return value;
}
It was driving me crazy!
Reply
#2

The XML file is probably the documentation file generated by the compiler, nothing bad.

But about your scripts not working after some time, i don't know what is cause this.
Maybe you have an application (or maybe even a virus) running corrupting the amx file.
Reply
#3

I can confirm this now by saying that sometimes the compiler will compile fine, but when I enter the game some things don't work as spected.

I think that the "-d0 -r" parameter was just a matter of luck of the moment, given that I'm using it right now and is happening again.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)