AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   General (https://forums.alliedmods.net/forumdisplay.php?f=58)
-   -   FAQ: Sourcemod Newbies Guide (https://forums.alliedmods.net/showthread.php?t=69092)

Dr. McKay 12-01-2016 19:33

Re: FAQ: Sourcemod Newbies Guide
 
It might be choking on the fact that you aren't closing your <font> tags.

BoosterGold 12-01-2016 19:47

Re: FAQ: Sourcemod Newbies Guide
 
Quote:

Originally Posted by Dr. McKay (Post 2474425)
It might be choking on the fact that you aren't closing your <font> tags.

Closing the font tags made it shorter.

http://i.imgur.com/EFMPMyL.png

I'm pretty sure this shows that there's a character limit. I'll just have to change the wording a bit.

cruderustle 04-24-2017 22:38

Re: FAQ: Sourcemod Newbies Guide
 
Which SourcePawn editor should I use, BasicPawn or SPEdit?

Technoblazed 04-26-2017 12:07

Re: FAQ: Sourcemod Newbies Guide
 
Quote:

Originally Posted by cruderustle (Post 2515003)
Which SourcePawn editor should I use, BasicPawn or SPEdit?

Just use Atom with the sourcepawn syntax checker :D

shanapu 04-26-2017 13:01

Re: FAQ: Sourcemod Newbies Guide
 
Quote:

Originally Posted by BoosterGold (Post 2474424)
Hi Nomis,

Is there a limit to the length of the string I can use? This is what happens:

http://i.imgur.com/o5FbLzH.png

This is the string I'm using:

PHP Code:

"<font color='#4583e8'>Automatic <font color='#e8df45'>bunny-hopping <font color='#4583e8'>is enabled. Hold <font color='#e8df45'>jump <font color='#4583e8'>and remember to <font color='#e8df45'>airstrafe!" 




https://forums.alliedmods.net/showthread.php?t=256058

Quote:

Originally Posted by KissLick (Post 2253334)
So... I did some testing and HTML seems to be partialy working in PrintHintText() and UserMessage KeyHintText.

Some points I made:
  1. PrintHintText and KeyHintText seems to be working exactly the same way...
  2. CSS is not working...
  3. Only a few HTML tags are working (<font>, <b>, <i>, <u> and <br>)
  4. You can create new line with both <br> or \n
  5. HUD has only three lines (with default font size)
  6. Font
    1. Color could be set only via HEX RGB code and not names... I use this color mixer
    2. Default font size seems to be 20, but I am not sure about that...
    3. Smaller font means more lines
    4. Any custom font I tried to use with <font> gave me the same result
  7. And of course, you can combine tags...
[code
]And some images:
!1 !2 !3 !4 !5 !6 !7 !8 !9

Quote:

Originally Posted by Mitchell (Post 2253582)
hint text can only display up to a certain amount of size. possibly 512, i don't remember though.


edit: oh BoosterGolds request is a bit old... sry

good_live 04-30-2017 05:23

Re: FAQ: Sourcemod Newbies Guide
 
Quote:

Originally Posted by Technoblazed (Post 2515824)
Atom with the sourcepawn syntax checker :D

Where can i find that one?

Bara 05-06-2017 17:18

Re: FAQ: Sourcemod Newbies Guide
 
Quote:

Originally Posted by good_live (Post 2517028)
Where can i find that one?

https://atom.io/packages/language-sourcepawn


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

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