Run timer error 6:Invalid Instruction
#1

full error generated by crash detect:
pawn Код:
[18:16:36] [debug] Run time error 6: "Invalid instruction"
[18:16:36] [debug]  Unknown opcode 0x3902494 at address 0x00000038
[18:16:36] [debug] AMX backtrace:
[18:16:36] [debug] #0 00000038 in public OnPlayerConnect () from GangWars.amx
My OnPlayerconnect
pawn Код:
public OnPlayerConnect(playerid)
{
        new string[80];
        GetPlayerName(playerid,Name,sizeof(Name));
        if(fexist(GetPath(playerid)))
        {
            format(string,sizeof(string),"Sveiki sugrįћę %s, jūs automatiљkai buvote prijungtas",Name);
            SendClientMessage(playerid,0xFFFF00FF,string);
            INI_ParseFile(GetPath(playerid),"LoadStats_%s", .bExtra = true, .extra = playerid);
           
        }
        format(string,sizeof(string),"[Join] %s prisijungė į serverį",Name);
        SendClientMessageToAll(0xFF00FFFF,string);
        return 1;
}
I found out that without the parse file line it works. But what is wrong with it? It loads everything well, just causes that error
Reply


Messages In This Thread
Run timer error 6:Invalid Instruction - by dusk - 13.04.2013, 14:52
Re: Run timer error 6:Invalid Instruction - by ]Rafaellos[ - 13.04.2013, 14:57
Re: Run timer error 6:Invalid Instruction - by dusk - 13.04.2013, 15:12
Re: Run timer error 6:Invalid Instruction - by Dark_Kostas - 13.04.2013, 15:37
Re: Run timer error 6:Invalid Instruction - by dusk - 13.04.2013, 16:20
Re: Run timer error 6:Invalid Instruction - by Universal - 13.04.2013, 16:58

Forum Jump:


Users browsing this thread: 1 Guest(s)