Raised This Month: $102 Target: $400
 25% 

FAQ: Sourcemod Newbies Guide


Post New Thread Reply   
 
Thread Tools Display Modes
Dr. McKay
Sir Dr. SourceMod Plugin Approver Esq. Ltd. M.D. PhD
Join Date: Aug 2011
Location: Atlantis
Old 12-01-2016 , 19:33   Re: FAQ: Sourcemod Newbies Guide
Reply With Quote #81

It might be choking on the fact that you aren't closing your <font> tags.
__________________
Dr. McKay is offline
BoosterGold
Member
Join Date: Nov 2016
Old 12-01-2016 , 19:47   Re: FAQ: Sourcemod Newbies Guide
Reply With Quote #82

Quote:
Originally Posted by Dr. McKay View Post
It might be choking on the fact that you aren't closing your <font> tags.
Closing the font tags made it shorter.



I'm pretty sure this shows that there's a character limit. I'll just have to change the wording a bit.
BoosterGold is offline
cruderustle
Junior Member
Join Date: Apr 2017
Location: Computer
Old 04-24-2017 , 22:38   Re: FAQ: Sourcemod Newbies Guide
Reply With Quote #83

Which SourcePawn editor should I use, BasicPawn or SPEdit?
__________________
cruderustle is offline
Technoblazed
Senior Member
Join Date: May 2016
Location: United Kingdom
Old 04-26-2017 , 12:07   Re: FAQ: Sourcemod Newbies Guide
Reply With Quote #84

Quote:
Originally Posted by cruderustle View Post
Which SourcePawn editor should I use, BasicPawn or SPEdit?
Just use Atom with the sourcepawn syntax checker
Technoblazed is offline
shanapu
Veteran Member
Join Date: Apr 2015
Location: .de
Old 04-26-2017 , 13:01   Re: FAQ: Sourcemod Newbies Guide
Reply With Quote #85

Quote:
Originally Posted by BoosterGold View Post
Hi Nomis,

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



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 View Post
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 View Post
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
__________________
free software
coding

Last edited by shanapu; 04-26-2017 at 13:03.
shanapu is offline
good_live
AlliedModders Donor
Join Date: Oct 2013
Old 04-30-2017 , 05:23   Re: FAQ: Sourcemod Newbies Guide
Reply With Quote #86

Quote:
Originally Posted by Technoblazed View Post
Atom with the sourcepawn syntax checker
Where can i find that one?

Last edited by good_live; 05-02-2017 at 08:19.
good_live is offline
Bara
AlliedModders Donor
Join Date: Apr 2012
Location: Germany
Old 05-06-2017 , 17:18   Re: FAQ: Sourcemod Newbies Guide
Reply With Quote #87

Quote:
Originally Posted by good_live View Post
Where can i find that one?
https://atom.io/packages/language-sourcepawn
__________________
Bara is offline
shaham
New Member
Join Date: Jan 2018
Old 01-24-2018 , 15:43   Re: FAQ: Sourcemod Newbies Guide
Reply With Quote #88

thanks So much for Answering
__________________
shaham 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 05:09.


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