Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public ondialogresponse
- gasesti mai jos asta if(strlen(inputtext) >= 1) {
- if(strfind(inputtext, "%", true) != -1 || strfind(inputtext, "`", true) != -1) return SCM(playerid, COLOR_WHITE,"Caractere invalide!");
- }
- o inlocuiesti cu asta
- if(strfind(inputtext, "%", true) != -1)
- {
- SendClientMessage(playerid, COLOR_GENANNOUNCE, "SERVER: Invalid dialog input. You can't use %%.");
- ShowPlayerDialog(playerid, dialogid, DIALOG_STYLE_INPUT, "Invalid dialog input", "Invalid dialog input", "OK", "Exit");
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement