Raised This Month: $32 Target: $400
 8% 

Special Characters - Character set for HL - CS


Post New Thread Reply   
 
Thread Tools Display Modes
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 02-17-2016 , 18:42   Re: Special Characters - Character set for HL - CS
Reply With Quote #71

Quote:
Originally Posted by Depresie View Post
I may be late but is there anyway to display this in a hud message?
Code:
— ¦
Have you tried writing your plugins with UTF-8 w/o BOM encoding?


Anyways, the conversion to ASCII give me this:

Quote:
— ¦
__________________

Last edited by fysiks; 02-17-2016 at 18:43.
fysiks is offline
Depresie
Veteran Member
Join Date: Nov 2013
Old 02-28-2016 , 20:55   Re: Special Characters - Character set for HL - CS
Reply With Quote #72

Thanks, it worked, sorry for late reply

Im wondering if there is any chance i could get this in the game
Code:
▬▬▬▬▬▬▬▬▬▬ஜ۩۞۩ஜ▬▬▬▬▬▬▬▬▬▬
__________________
Depresie is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 02-29-2016 , 02:40   Re: Special Characters - Character set for HL - CS
Reply With Quote #73

How about you learn how to answer the question on your own.

Open Notepad++.
Create a new document.
Set the encoding to UTF-8.
Paste your text.
Set the encoding to ANSI.

Quote:
Originally Posted by fysiks View Post
Have you tried writing your plugins with UTF-8 w/o BOM encoding?
__________________
fysiks is offline
Kakarot47
Senior Member
Join Date: May 2015
Location: Pakistan
Old 03-02-2016 , 04:04   Re: Special Characters - Character set for HL - CS
Reply With Quote #74

how to set special characters on HUD Screen ?

like
// Show name, health, class, and ammo packs
set_hudmessage(155, 150, 200, HUD_SPECT_X, HUD_SPECT_Y, 0, 6.0, 1.1, 0.0, 0.0, -1)
ShowSyncHudMsg(ID_SHOWHUD, g_MsgSync2, "%L %s^nHP: %d - %L %s - %L %d - %L %d", ID_SHOWHUD, "SPECTATING", g_playername[id], pev(id, pev_health), ID_SHOWHUD, "CLASS_CLASS", class, ID_SHOWHUD, "AMMO_PACKS1", g_ammopacks[id], ID_SHOWHUD, "ARMOR", pev(id, pev_armorvalue))

on line
"۩۞۩ %L %s^n۩۞۩HP: %d - ۩۞۩%L %s - ۩۞۩%L %d - ۩۞۩%L %d",

i set it but its not appearing on hud :/ can you tell me how because when i save it as UTF formate then all script is gonna vanished xD
__________________



AssasinSniperNightmare ModArmageddon ModApolacyps Mod
Kakarot47 is offline
Send a message via Skype™ to Kakarot47
Depresie
Veteran Member
Join Date: Nov 2013
Old 03-26-2016 , 23:23   Re: Special Characters - Character set for HL - CS
Reply With Quote #75

Fysiks just explained in the post above how to do so... btw thanks fysiks
__________________
Depresie is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 19:16.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode