27.10.2016, 22:59
This is my problem:
The server prints this out when I leave:
I have figured out where the problem is, it's in this line:
When I remove it, everything's fine. When it's there, it messes up my saving system, etc.
I have seen other people using the unix timestamps just like me and it's working for them --> gettime()+days*86400.
Help!
The server prints this out when I leave:
Код:
[00:48:39] [debug] Run time error 6: "Invalid instruction" [00:48:39] [debug] Unknown opcode 0x24000000 at address 0x00000035 [00:48:39] [debug] AMX backtrace: [00:48:39] [debug] #0 00000035 in public Itter_OnPlayerDisconnect () at D:\Desktop\jdfreeroam\pawno\include\float.inc:121 [00:48:39] [debug] #1 native CallLocalFunction () from samp-server.exe [00:48:39] [debug] #2 00007600 in public OnPlayerDisconnect (playerid=43, reason=1) at D:\Desktop\jdfreeroam\pawno\include\foreach.inc:643
Код:
PlayerInfo[targetid][pDonatorTime] = gettime()+days*86400;
I have seen other people using the unix timestamps just like me and it's working for them --> gettime()+days*86400.
Help!