SA-MP Forums Archive
Special char - 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: Special char (/showthread.php?tid=531271)



Special char - cnoopers - 11.08.2014

i needa use full block, but at Alt +2588 is 'L', should be '█'. BUT, if a copy that to pawno that character will be changed for question mark. How to add it?
http://www.fileformat.info/info/unic...2588/index.htm


Re: Special char - cnoopers - 11.08.2014

So, any another ways for add rectangle block in dialog message?


Re: Special char - Virtual1ty - 11.08.2014

What do you need this for exactly? Displaying this char in Pawno would be a no-go, but if you want to print it
(if the console supports it, as well) or send a message with this char to the player, it's possible.
That page where you linked to basically had the answer for you. Try this escaped sequence and see what it prints:
pawn Код:
print("\\u2588");
Edit: Yeah, I was wrong, as ****** posted, you can only print ASCII, however printing Unicode is indeed possible with SetObjectMaterialText, and that's how I did it.


Re: Special char - Virtual1ty - 11.08.2014

Sorry for double post, I was on a mobile. Mod please delete this.