18.11.2017, 19:25
Quote:
There are better alternatives than looping 1000 times. The correct way would be i < MAX_PLAYERS and not i <= MAX_PLAYERS. However, you can replace:
pawn Код:
pawn Код:
--- I assume you pass "u" as format specifier again in SetTimeEx for KickPlayer. Find it/these parts and replace with "d" or "i". |
PHP код:
[01:45:50] [debug] Run time error 6: "Invalid instruction"
[01:45:50] [debug] Unknown opcode 0x1062ebe at address 0x00000039
[01:45:50] [debug] AMX backtrace:
[01:45:50] [debug] #0 00000039 in public OnPlayerDisconnect () at <unknown file>:0
[01:45:50] [debug] #1 native Kick () from samp-server.exe
[01:45:50] [debug] #2 00081580 in public KickPlayer (playerid=0) at ./comps/callbacks.pwn:3016