ziggi / rustext

Fix Russian text plugin for SA-MP: GameText's, TextDraw's and Menu's
MIT License
17 stars 3 forks source link

Add Hungarian support #1

Closed ziggi closed 7 years ago

ziggi commented 7 years ago

For characters thanks to @kurta999.

gCharMap[246] = /* ц */ {{0,   0,   0,   0,   0,   0,   0,   0,   168}},
gCharMap[252] = /* ь */ {{0,   0,   0,   0,   0,   0,   0,   0,   172}},
gCharMap[243] = /* у */ {{0,   0,   0,   0,   0,   0,   0,   0,   166}},
gCharMap[245] = /* ő */ {{0,   0,   0,   0,   0,   0,   0,   0,   167}},
gCharMap[250] = /* ъ */ {{0,   0,   0,   0,   0,   0,   0,   0,   170}},
gCharMap[233] = /* й */ {{0,   0,   0,   0,   0,   0,   0,   0,   158}},
gCharMap[225] = /* б */ {{0,   0,   0,   0,   0,   0,   0,   0,   152}},
gCharMap[251] = /* ű */ {{0,   0,   0,   0,   0,   0,   0,   0,   171}},
gCharMap[237] = /* н */ {{0,   0,   0,   0,   0,   0,   0,   0,   162}},
gCharMap[214] = /* Ц */ {{0,   0,   0,   0,   0,   0,   0,   0,   145}},
gCharMap[220] = /* Ь */ {{0,   0,   0,   0,   0,   0,   0,   0,   149}},
gCharMap[211] = /* У */ {{0,   0,   0,   0,   0,   0,   0,   0,   143}},
gCharMap[213] = /* Ő */ {{0,   0,   0,   0,   0,   0,   0,   0,   144}},
gCharMap[218] = /* Ъ */ {{0,   0,   0,   0,   0,   0,   0,   0,   147}},
gCharMap[201] = /* Й */ {{0,   0,   0,   0,   0,   0,   0,   0,   135}},
gCharMap[193] = /* Б */ {{0,   0,   0,   0,   0,   0,   0,   0,   129}},
gCharMap[219] = /* Ű */ {{0,   0,   0,   0,   0,   0,   0,   0,   183}},
gCharMap[205] = /* Н */ {{0,   0,   0,   0,   0,   0,   0,   0,   139}},
ghost commented 7 years ago

Can you send me Hungarian language installer or something like that?

What installer? For os or wtf?

Im writing here because im not able to send message at samp forums, for some reason cloudflare start scanning when i post and after that black page appears. (only on mobile)

ziggi commented 7 years ago

What installer? For os or wtf?

For GTA ofc. See examples (Russian and Ukraine) here: https://mega.nz/#F!tVhlhDCT!FK1xFcBalTA0ySY_JsryMg

I need fonts and text.

ghost commented 7 years ago

These chars are in fonts.txd you not need to add anything to the game

ziggi commented 7 years ago

I want to add this to my localization collection.

ziggi commented 7 years ago

Or this works with English localization?

ghost commented 7 years ago

Should work because hungarian chars are already in game by default, only you need to use different chars in td, gametext to show them.