Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ////////////////////////////////////////////////////////////////////////////
- public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
- {
- new len = strlen (inputtext);
- for (new i = 0; i < len; ++i)
- if (inputtext [i] == '%')
- inputtext [i] = '#';
- if(strfind(inputtext, "%", true) != -1)
- {
- SCM(playerid,-1,"[LE:RP] "CRVENA"Ne mozes koristiti znakove u dialogu!");
- return 1;
- }
- return 0;
- }
- ///////////////////////////////////////////////////////////////////////////
Advertisement
Add Comment
Please, Sign In to add comment