Quote:
Originally Posted by RogueDrifter
add this:
PHP код:
for (new i, l = strlen(inputtext); i < l; i ++)
{
if (inputtext[i] == '%')
{
inputtext[i] = '#';
}
}
at the top of OnDialogResponse and it'll replace all of the invalid values.
|
Hey i tried this code you sent but when i compiled the script the pawn stopped working
EDIT: I forgot a bracket, this actually worked! Thank you so much, +REP.