27.01.2013, 10:12
This is what I get when I use rcon commands.
Other error
108 line:
It happens whenever I use OnRconCommand callback in some filterscript aka when I enable that callback
https://sampwiki.blast.hk/wiki/OnRconCommand
Код:
Console input: reloadbans [13:19:43] [13:19:43] [debug] Run time error 4: "Array index out of bounds" [13:19:43] [debug] Accessing element at index 1 past array upper bound 137 [13:19:43] [debug] AMX backtrace: [13:19:43] Ban list [13:19:43] -------- [13:19:43] Loaded: samp.ban [13:19:43] [13:19:43] [debug] #0 00000008 in Float:operator-(Float:) (Float:oper=0.00000) at E:\Users\User\Desktop\SAMP\pawno\include\float.inc:108 [13:19:43] [debug] Run time error 4: "Array index out of bounds" [13:19:43] [debug] Accessing element at index 1 past array upper bound 137 [13:19:43] [debug] AMX backtrace: [13:19:43] [debug] #0 00000008 in Float:operator-(Float:) (Float:oper=0.00000) at E:\Users\User\Desktop\SAMP\pawno\include\float.inc:108
Код:
Console input: reloadbans [13:58:23] [13:58:23] [debug] Run time error 10: "Native function failed"
pawn Код:
stock Float:operator-(Float:oper)//108
return oper^Float:cellmin; /* IEEE values are sign/magnitude */
It happens whenever I use OnRconCommand callback in some filterscript aka when I enable that callback
Quote:
You will need to include this callback in a loaded filterscript for it to work in the gamemode! |