Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- SendFormattedMessage(playerid, color, fstring[], {Float, _}:...)
- {
- static const
- STATIC_ARGS = 3;
- new n = (numargs() - STATIC_ARGS) * BYTES_PER_CELL;
- if(n)
- {
- new
- message[256],
- arg_start,
- arg_end;
- #emit CONST.alt fstring
- #emit LCTRL 5
- #emit ADD
- #emit STOR.S.pri arg_start
- #emit LOAD.S.alt n
- #emit ADD
- #emit STOR.S.pri arg_end
- do
- {
- #emit LOAD.I
- #emit PUSH.pri
- arg_end -= BYTES_PER_CELL;
- #emit LOAD.S.pri arg_end
- }
- while(arg_end > arg_start);
- #emit PUSH.S fstring
- #emit PUSH.C 210
- #emit PUSH.ADR message
- n += BYTES_PER_CELL * 3;
- #emit PUSH.S n
- #emit SYSREQ.C format
- n += BYTES_PER_CELL;
- #emit LCTRL 4
- #emit LOAD.S.alt n
- #emit ADD
- #emit SCTRL 4
- return SendClientMessageEx(playerid, color, message);
- }
- else
- {
- return SendClientMessageEx(playerid, color, fstring);
- }
- }
- [15:25:31] [debug] Server crashed while executing sublime.amx
- [15:25:31] [debug] AMX backtrace:
- [15:25:31] [debug] #0 native format () from samp03svr
- [15:25:31] [debug] #1 0023fbfc in SendFormattedMessage (playerid=0, color=-1, fstring[]=@00e5f860 "> ", ... <2 arguments>) at D:\project\sw-project\include\functions/natives.pwn:233
- [15:25:31] [debug] #2 0023776c in KickPlayer (playerid=0, by[]=@00e4a2a4 "KickBot", reason[]=@00e4a2c4 "") at C:\Users\Lenovo\Desktop\Новая папка\samp-sw-gamemode\gamemodes\sublime.pwn:38741
- [15:25:31] [debug] #3 002154f4 in public OnLoadAccount (playerid=0) at C:\Users\Lenovo\Desktop\Новая папка\samp-sw-gamemode\gamemodes\sublime.pwn:36041
- [15:25:31] [debug] Native backtrace:
- [15:25:31] [debug] #0 f736f9f0 in _Z13GetStackTraceRSt6vectorI10StackFrameSaIS0_EEPv () from plugins/crashdetect.so
- [15:25:31] [debug] #1 f7368a62 in _ZN11CrashDetect20PrintNativeBacktraceERSoPv () from plugins/crashdetect.so
- [15:25:31] [debug] #2 f7369764 in _ZN11CrashDetect20PrintNativeBacktraceEPv () from plugins/crashdetect.so
- [15:25:31] [debug] #3 f736b6b4 in _ZN11CrashDetect11OnExceptionEPv () from plugins/crashdetect.so
- [15:25:31] [debug] #4 f736f31d in ?? () from plugins/crashdetect.so
- [15:25:31] [debug] #5 f7769b20 in __kernel_rt_sigreturn () from linux-gate.so.1
- [15:25:31] [debug] #6 080acc22 in ?? () from ./samp03svr
- [15:25:31] [debug] #7 080ad67f in ?? () from ./samp03svr
- [15:25:31] [debug] #8 080e1b69 in ?? () from ./samp03svr
- [15:25:31] [debug] #9 080e8760 in ?? () from ./samp03svr
- [15:25:31] [debug] #10 0809d844 in ?? () from ./samp03svr
- [15:25:31] [debug] #11 f736a4d3 in _ZN11CrashDetect13DoAmxCallbackEiPiS0_ () from plugins/crashdetect.so
- [15:25:31] [debug] #12 00000000 in nil ()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement