INI_WriteInt causes "Invalid instruction" run time error
#1

My code:
pawn Код:
print("SetServerData called");
    new INI:file = INI_Open(#SERVER_DATA_FILE_NAME ".ini");
    print("File opened");
    INI_SetTag(file, "Misc");
    print("Tag set");
    INI_WriteInt(file, GetServerElementName(key), value);
    print("Int written");
    INI_Close(file);
Function GetServerElementName returns "LastJobXpWipeTimestamp".


Код:
[16:31:56] SetServerData called
[16:31:56] File opened
[16:31:56] Tag set
[16:31:56] [debug] Run time error 6: "Invalid instruction"
[16:31:56] [debug]  Unknown opcode 0x103f3c6 at address 0x00000031
[16:31:56] [debug] AMX backtrace:
[16:31:56] [debug] #0 00000031 in ?? () at F:\AAAA\server\pawno\include\float.inc:108
[16:31:56] [debug] #1 native CallLocalFunction () [00472ad0] from samp-server.exe
[16:31:56] [debug] #2 00003274 in Command_Add () at F:\AAAA\server\pawno\include\YSI\y_iterate.inc:791
[16:31:56] [debug] #3 00001e94 in Command_Add () at F:\AAAA\server\pawno\include\YSI\internal\..\y_scriptinit.inc:171
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)