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
#2

Bump
Reply
#3

https://sampforum.blast.hk/showthread.php?tid=540603
Reply
#4

Quote:
Originally Posted by Jefff
Посмотреть сообщение
Thanks!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)