12.02.2016, 18:56
(
Последний раз редактировалось thewildlima; 12.02.2016 в 20:05.
Причина: Solved, thanks to everyone!
)
Hello,
So all suddenly special chars like "бзйй" etc won't appear, and i'm freaking out trying to figure out what's wrong!
I'm killing my brain trying to figure out what happened. Could please someone tell me what's going wrong? I'm out of ideas/fixes.
Thanks...
-------------
SOLUTION FOUND:
So all suddenly special chars like "бзйй" etc won't appear, and i'm freaking out trying to figure out what's wrong!
Код:
stock KickMessage(playerid, message[]) { new strMessage[144]; format(strMessage, sizeof(strMessage), "%s: %s", SERVER_PREFIX, message); SendClientMessage(playerid, COLOR_WHITE, strMessage); SetTimerEx("_KickMessage", 250, false, "i", playerid); return 1; } callback:_KickMessage(playerid) { Kick(playerid); return 1; }
Код:
Dialog:LoginDialog(playerid, response, listitem, inputtext[]) { if(response) { return 1; } else { KickMessage(playerid, "Autenticaзгo obrigatуria. ййй"); return 1; } }
Thanks...
-------------
SOLUTION FOUND:
Quote:
Ok, so, this is a bug ( i think ), thats how i solved this (weirdly), i discovered that Pawn automatically saves files in ANSI, so i'm my thinking this is what was happening:
LimaRP.pwn is saved in ANSI. All the custom includes are in UTF-8. In the compilation/build, UTF-8 characters will be shown as ANSI, and it causes the characters to appear like in the above attachments. Solution: Change all files/includes back to ANSI. Check in the attachments. Hope this thread will help future scripters with the same issue ! Thanks to everyone who tried to help so quickly ! |