Raised This Month: $12 Target: $400
 3% 

[CSGO] New HTML Font supported hud element


Post New Thread Reply   
 
Thread Tools Display Modes
backwards
AlliedModders Donor
Join Date: Feb 2014
Location: USA
Old 08-25-2020 , 06:43   Re: [CSGO] New HTML Font supported hud element
Reply With Quote #11

maybe its based on your game language? did you make any edits to the resource files for the green $ on hint text?
__________________
I highly recommend joining the SourceMod Discord Server for real time support.
backwards is offline
MAGNET12
Member
Join Date: Dec 2017
Old 08-25-2020 , 11:16   Re: [CSGO] New HTML Font supported hud element
Reply With Quote #12

Nah, I haven't modified any files. I might try to tamper in the language settings
__________________

Last edited by MAGNET12; 08-25-2020 at 12:33.
MAGNET12 is offline
Kubad
Senior Member
Join Date: Sep 2015
Location: Czech Republic
Old 08-25-2020 , 12:53   Re: [CSGO] New HTML Font supported hud element
Reply With Quote #13

Quote:
Originally Posted by digin View Post
it works for me
PHP Code:
newevent.SetString("funfact_token"" <img src='image_url'>"); 
i try use img but i have problem when i use it first time img is too small but when i used that second time img is okay maybe find some fix
Kubad is offline
MAGNET12
Member
Join Date: Dec 2017
Old 08-25-2020 , 15:49   Re: [CSGO] New HTML Font supported hud element
Reply With Quote #14

Quote:
Originally Posted by Kubad View Post
i try use img but i have problem when i use it first time img is too small but when i used that second time img is okay maybe find some fix
Works exactly the same way on my server
__________________
MAGNET12 is offline
Kubad
Senior Member
Join Date: Sep 2015
Location: Czech Republic
Old 08-26-2020 , 07:42   Re: [CSGO] New HTML Font supported hud element
Reply With Quote #15

and i find 1 more bug with img when i used that its too small and text behind that doesnt show
Kubad is offline
OXYD
AlliedModders Donor
Join Date: Aug 2019
Location: pluto
Old 09-09-2020 , 21:30   Re: [CSGO] New HTML Font supported hud element
Reply With Quote #16

Quote:
Originally Posted by backwards View Post
maybe its based on your game language? did you make any edits to the resource files for the green $ on hint text?
Which html tag u used to change the font size? cuz i can't edit it size too.

http://prntscr.com/uem0h3

PHP Code:
    Event text CreateEvent("cs_win_panel_round");
    
text.SetString("funfact_token"" <b><font size='15' color='#ffa500'>TEXT TEXT</font></b>"); 
__________________
ADD ME ON STEAM - https://steamcommunity.com/id/kenoxyd
89.40.104.210:27015 // COMPETITIVE SERVER
DISCORD: KENOXYD#9098

Last edited by OXYD; 09-09-2020 at 21:31.
OXYD is offline
bklol
Member
Join Date: May 2019
Location: on my chair
Old 09-18-2020 , 04:47   Re: [CSGO] New HTML Font supported hud element
Reply With Quote #17

Quote:
Originally Posted by OXYD View Post
Which html tag u used to change the font size? cuz i can't edit it size too.

http://prntscr.com/uem0h3

PHP Code:
    Event text CreateEvent("cs_win_panel_round");
    
text.SetString("funfact_token"" <b><font size='15' color='#ffa500'>TEXT TEXT</font></b>"); 
PHP Code:
newevent_message.SetString("funfact_token""<u><span class='fontSize-xxl' color='#7FFF00'>(`ヮ´ )σ`∀´) ゚∀゚)σ</span></u> "); 
bklol is offline
Oylsister
Senior Member
Join Date: Aug 2019
Location: KhonKaen, Thailand
Old 04-10-2021 , 00:14   Re: [CSGO] New HTML Font supported hud element
Reply With Quote #18

Is this possible for to make countdown timer on this HUD?
__________________
Oylsister is offline
Ilusion9
Veteran Member
Join Date: Jun 2018
Location: Romania
Old 08-27-2021 , 18:36   Re: [CSGO] New HTML Font supported hud element
Reply With Quote #19

Quote:
Originally Posted by Oylsister View Post
Is this possible for to make countdown timer on this HUD?
yes, if you can override these variables:

PHP Code:
m_bShouldSetWinPanelExtraData true;
m_fSetWinPanelExtraDataTime gpGlobals->curtime 1.0f
from csgo code.
__________________
Ilusion9 is offline
SHUFEN
Senior Member
Join Date: Jun 2014
Location: Japan, Tokyo
Old 08-30-2021 , 01:53   Re: [CSGO] New HTML Font supported hud element
Reply With Quote #20

Quote:
Originally Posted by Ilusion9 View Post
yes, if you can override these variables:

PHP Code:
m_bShouldSetWinPanelExtraData true;
m_fSetWinPanelExtraDataTime gpGlobals->curtime 1.0f
from csgo code.
I was interested in that, but apparently that is on the client side, and cannot be changed from the server.
SHUFEN is offline
Send a message via Skype™ to SHUFEN
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 14:15.


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