Guest User

Untitled

a guest
Feb 10th, 2018
158
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.52 KB | None | 0 0
  1. ////////////////////////////////////////////////////////////////////////////
  2. public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
  3. {
  4. new len = strlen (inputtext);
  5. for (new i = 0; i < len; ++i)
  6. if (inputtext [i] == '%')
  7. inputtext [i] = '#';
  8. if(strfind(inputtext, "%", true) != -1)
  9. {
  10. SCM(playerid,-1,"[LE:RP] "CRVENA"Ne mozes koristiti znakove u dialogu!");
  11. return 1;
  12. }
  13. return 0;
  14. }
  15. ///////////////////////////////////////////////////////////////////////////
Advertisement
Add Comment
Please, Sign In to add comment