31.01.2014, 11:59
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..