Passwords, take of the server.
#2

The percent symbol (%) can crash the server if it's used in inputtext.

pawn Код:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
    for (new i, length = strlen(inputtext); i != length; ++i)
    {
        if (inputtext[i] == '%') inputtext[i] = '#';
    }
    // rest of code..
Reply


Messages In This Thread
Passwords, take of the server. - by AfikAtashga - 31.01.2014, 11:44
Re: Passwords, take of the server. - by Konstantinos - 31.01.2014, 11:59
Re: Passwords, take of the server. - by AfikAtashga - 31.01.2014, 12:10

Forum Jump:


Users browsing this thread: 1 Guest(s)