Server crash when using y_dialog - y_inline
#1

For some reason, The server crashes.
Quote:

[14:33:00] *** YSI Error: Format specifier didn't match on inline function Response:..@Ia@Ib@Ib@Ib@Ib@Ib@Ic:iiiis
[14:33:24] [debug] Run time error 5: "Invalid memory access"
[14:33:24] [debug] AMX backtrace:
[14:33:24] [debug] #0 0002322c in Callback_Call (result[E_CALLBACK_DATA:4]=@0x04088654, ... <5 arguments>) at E:\Ahmed\RGRP by Ghazi\pawno\include\YSI\y_inline.inc:1048
[14:33:24] [debug] #1 0002569c in ?? (... <5 arguments>) at E:\Ahmed\RGRP by Ghazi\pawno\include\YSI\y_dialog.inc:332
[14:33:24] [debug] #2 0001e3a0 in public OnDialogResponse (playerid=0, dialogid=0, response=1, listitem=-1, inputtext[]=@0x031462b4 "ILoveYou") at E:\Ahmed\RGRP by Ghazi\pawno\include\YSI\y_hooks/impl.inc:2251

Code :
pawn Код:
inline Response(pid, dialogid, response, listitem, string:inputtext[])
    {
        #pragma unused pid, dialogid, response, listitem, inputtext
        SendClientMessage(playerid, -1, "Hi.");
    }
    Dialog_ShowCallback(playerid, using inline Response, DIALOG_STYLE_INPUT, "SMS", "Enter the text you wish to send", "Enter", "Cancel");
Any help'd be appreciated.
Reply
#2

redownload YSI, ****** already fix that issues

https://github.com/Y-Less/YSI-Includes/tree/YSI.tl
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)