Float.inc help
#1

This is my problem:

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
I have figured out where the problem is, it's in this line:

Код:
PlayerInfo[targetid][pDonatorTime] = gettime()+days*86400;
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!
Reply


Messages In This Thread
Float.inc help - by iamjems - 27.10.2016, 22:59
Re: Float.inc help - by iamjems - 27.10.2016, 23:48
Re: Float.inc help - by Jefff - 28.10.2016, 00:04
Re: Float.inc help - by iamjems - 28.10.2016, 08:12

Forum Jump:


Users browsing this thread: 1 Guest(s)