Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- remove_polish_chars(Text:text, string[])
- {
- for(new i = strlen(string); i >= 0; i--)
- {
- switch(string[i])
- {
- case 'ó':
- string[i] = 'o';
- case 'ł':
- string[i] = 'l';
- case 'ż', 'ź':
- string[i] = 'z';
- case 'ą':
- string[i] = 'a';
- case 'ś':
- string[i] = 's';
- case 'ć':
- string[i] = 'c';
- case 'ń':
- string[i] = 'n';
- case 'ę':
- string[i] = 'e';
- }
- }
- old_TextDrawSetString(text, string);
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement