I cannot change the font size in a hinttext in CS:GO
This doesn't work
HintText("<font size='30'>Hello</font>").send(index)
[CS:GO] HintText
[CS:GO] HintText
Last edited by velocity on Sat Nov 03, 2018 9:23 pm, edited 1 time in total.
Re: HintText
Which game?
Re: HintText
cs:go
Re: [CS:GO] HintText
https://forums.alliedmods.net/showthrea ... ost2604171
This is working fine for me:
This is working fine for me:
Syntax: Select all
from messages import HintText
from events import Event
@Event('player_say')
def f(event):
HintText('<span class="fontSize-xs">Hello</span>').send()
Re: [CS:GO] HintText
I saw many using the "<pre>" tag. Apparently it makes the font size visible and makes /t work again.
Re: [CS:GO] HintText
As mentioned in the linked thread, you can only change the font size by using the style classes. The pre-tag won't help.
Return to “Plugin Development Support”
Who is online
Users browsing this forum: No registered users and 65 guests