Server Crashing - by someone pls help
#8

Add this somewhere in defines on top
pawn Код:
#define InputTextFilter(%0) \
    for(new i = strlen(%0)-1; i > -1; i--) \
        if(%0[i] == '%') \
            %0[i] = '#'
and on top public OnDialogResponse
pawn Код:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
    InputTextFilter(inputtext);

    // your code
    return 1;
}
Reply


Messages In This Thread
Server Crashing - by someone pls help - by TheLegend1 - 27.09.2015, 14:28
Re: Server Crashing - by someone pls help - by Jefff - 27.09.2015, 14:54
Re: Server Crashing - by someone pls help - by TheLegend1 - 27.09.2015, 20:56
Re: Server Crashing - by someone pls help - by Jefff - 27.09.2015, 21:05
Re: Server Crashing - by someone pls help - by TheLegend1 - 27.09.2015, 21:13
Re: Server Crashing - by someone pls help - by Jefff - 27.09.2015, 21:15
Re: Server Crashing - by someone pls help - by TheLegend1 - 27.09.2015, 21:19
Re: Server Crashing - by someone pls help - by Jefff - 27.09.2015, 21:23
Re: Server Crashing - by someone pls help - by TheLegend1 - 27.09.2015, 21:27
Re: Server Crashing - by someone pls help - by Jefff - 27.09.2015, 21:42

Forum Jump:


Users browsing this thread: 2 Guest(s)