M-am gandit sa fac un Anti SQL Injection, am vazut ca se tot cauta, si pe net nu prea gasesti, sau gasesti multe scripturi care nu sunt bune, sunt inutile.
Este simplu,
Puneti asta la public OnDialogResponse:
if(strfind(inputtext,"'") || strfind(inputtext,"'"))
{
for(new i; i < strlen(inputtext); i++)
{
if(strfind(inputtext[i],"%", true) == 0)
{
inputtext[i] = '-';
}
if(strfind(inputtext[i],"'", true) == 0)
{
inputtext[i] = '-';
}
}
SendClientMessage(playerid, 0xFF0000AA, "Eroare: Nu poti folosi astfel de caractere.");
}