SA-MP Forums Archive
don't save int - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: don't save int (/showthread.php?tid=550504)



don't save int - DzDanieL - 13.12.2014

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


Re: don't save int - DzDanieL - 13.12.2014

please help


Re: don't save int - DzDanieL - 14.12.2014

upp!!