13.12.2014, 08:20
onplayerdisconnect
INI_WriteInt(File, "GTime", pInfo[playerid][pGTime]);
wont save the variable pInfo[playerid][pGTime]
g_pInfo[playerid][pGiftTime] = gettime()+60*60;
crashdetect error:
[10:52:05] [debug] Run time error 6: "Invalid instruction"
[10:52:05] [debug] Unknown opcode 0x30d68dc at address 0x00000030
[10:52:05] [debug] AMX backtrace:
[10:52:05] [debug] #0 00000030 in public OnPlayerDisconnect () from MODE.amx
INI_WriteInt(File, "GTime", pInfo[playerid][pGTime]);
wont save the variable pInfo[playerid][pGTime]
g_pInfo[playerid][pGiftTime] = gettime()+60*60;
crashdetect error:
[10:52:05] [debug] Run time error 6: "Invalid instruction"
[10:52:05] [debug] Unknown opcode 0x30d68dc at address 0x00000030
[10:52:05] [debug] AMX backtrace:
[10:52:05] [debug] #0 00000030 in public OnPlayerDisconnect () from MODE.amx