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



SetDynamicObjectMaterialText - Develerux - 28.07.2017

Hi guys.
I want to material to object left and right arrow ( 👸 - 👺 )
So I have problem with pawn unicode.
Left arrow is okay, left arrow character: Π·
But right arrow character is: ΠΈ
Alright, then I copy pawn character transform to: e
Then in game materialed text not arrow ( 👺 ) but also e character symbol is scorpio (♏)
So how to solve this problem.
Thanks for the help, and I hope u understand.

SetDynamicObjectMaterialText(tmpobjid, 0, "Π·", 130, "Wingdings", 25, 0, 0xFF000000, 0x00000000, 0);
SetDynamicObjectMaterialText(tmpobjid, 0, "ΠΈ", 130, "Wingdings", 25, 0, 0xFF000000, 0x00000000, 0);


Re: SetDynamicObjectMaterialText - Develerux - 28.07.2017

Someone ?


Re: SetDynamicObjectMaterialText - R4nd4ll - 28.07.2017

Can you fix your english please?
I can barely understand what do you want.


Re: SetDynamicObjectMaterialText - Develerux - 29.07.2017

Please write different solution for this code:
SetDynamicObjectMaterialText(tmpobjid, 0, "ΠΈ", 130, "Wingdings", 25, 0, 0xFF000000, 0x00000000, 0);
Because when I copy "ΠΈ" to pawn, "ΠΈ" transform to "e".

(http://i.imgur.com/SmAKfvm.png)


Re: SetDynamicObjectMaterialText - Develerux - 29.07.2017

Quote:

Please write different solution for this code:
SetDynamicObjectMaterialText(tmpobjid, 0, "ΠΈ", 130, "Wingdings", 25, 0, 0xFF000000, 0x00000000, 0);
Because when I copy "ΠΈ" to pawn, "ΠΈ" transform to "e".

(http://i.imgur.com/SmAKfvm.png)


How can I write to object ?


Re: SetDynamicObjectMaterialText - Xeonβ„’ - 29.07.2017

simple, samp doesn't support others language than English and such language

Its does not support Special's letters.


Re: SetDynamicObjectMaterialText - Vince - 29.07.2017

Oh, it's certainly possible to use Wingdings symbols and if that arrow is the same character code as ΠΈ then why don't you type ΠΈ directly into the editor? My keyboard has a dedicated key for it (because we stole the layout from the French) but you should be able to type it with any keyboard using a combination of keys. On QWERTY keyboards it's apparently just ` followed by e.

https://support.microsoft.com/en-us/...out-in-windows