UTF-8 encoding gives error 010: invalid function or declaration - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: UTF-8 encoding gives error 010: invalid function or declaration (
/showthread.php?tid=600976)
UTF-8 encoding gives error 010: invalid function or declaration -
Aa12 - 15.02.2016
Include itself has no warnings or errors. But when I save it with UTF-8 encoding and try to #include it in my gamemode I always get
Код:
error 010: invalid function or declaration
I tried it with few different includes (all of them had no errors or warnings) and everytime when I tried to compile my gamemode with them included I get this error.
Problem disappears when I save in ANSI encoding,
but I need to use UTF-8
Re: UTF-8 encoding gives error 010: invalid function or declaration -
BiosMarcel - 15.02.2016
what do u need UTF-8 for?
Re: UTF-8 encoding gives error 010: invalid function or declaration -
SecretBoss - 15.02.2016
Just go to .all files (types) and write yourincludename.inc then you can go to language button to change the colors
Re: UTF-8 encoding gives error 010: invalid function or declaration -
Aa12 - 15.02.2016
Quote:
Originally Posted by SecretBoss
Just go to .all files (types) and write yourincludename.inc then you can go to language button to change the colors
|
I saved file like you said " .all files (types) and write yourincludename.inc" but I dont understand what you meant by "go to language button to change the colors".
Also it didnt worked