Raised This Month: $ Target: $400
 0% 

HTML Issue


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
dbdcobra
Junior Member
Join Date: Mar 2006
Old 04-07-2006 , 11:42   HTML Issue
Reply With Quote #1

I have searched for about 30 minutes looking for something for this exactly situation with no success
I have a few plugins that are trying to use html in the display window, such as a player tracker , but when it shows up it says,
blah blah </br> <other html code> </>

How can i get the html to display instead of displaying the HTML code...
Is there a function i need to turn on to display html? or to allow html code?
dbdcobra is offline
SweatyBanana
BANNED
Join Date: Sep 2005
Location: LOL
Old 04-07-2006 , 15:32  
Reply With Quote #2

Code:
#include <amxmodx> #include <amxmisc> public admin_motd(id,level,cid){     if (!cmd_access(id,level,cid,1))         return PLUGIN_HANDLED     show_motd(id,"help.txt","Our server help")     new name[32]     get_user_name(id,name,31)     client_print(0,print_chat,"dont shoot %s because he is reading the help page!",name)     return PLUGIN_HANDLED } public plugin_init() {     register_plugin("motd","0.1","SweatyBanana")     register_concmd("say /help","admin_motd",0,"< shows the motd >")     register_cvar("motd_Advertise","60")     set_task(20.0,"advertise");     return PLUGIN_CONTINUE } public advertise() {     client_print(0,print_chat,"say /help for support on our server.")     set_task(get_cvar_float("motd_Advertise"),"advertise")     return PLUGIN_HANDLED }


put a file called help.txt in your cstrike folder with the HTML code in it.
SweatyBanana is offline
Send a message via AIM to SweatyBanana Send a message via Yahoo to SweatyBanana
dbdcobra
Junior Member
Join Date: Mar 2006
Old 04-07-2006 , 17:19   umm
Reply With Quote #3

What does this have to do with my player tracker showing the HTML rather than the code?
dbdcobra is offline
c0rdawg
Senior Member
Join Date: Jan 2006
Old 04-07-2006 , 17:54  
Reply With Quote #4

I think it depends on the game, for example Counter-Strike can use html while Sven Co-op can't...
c0rdawg is offline
Send a message via AIM to c0rdawg Send a message via MSN to c0rdawg
Brad
AMX Mod X Team Member
Join Date: Jun 2004
Old 04-07-2006 , 18:42   Re: umm
Reply With Quote #5

Quote:
Originally Posted by dbdcobra
What does this have to do with my player tracker showing the HTML rather than the code?
Absolutely nothing. Sweaty Banana is still learning how to read so you'll have to forgive him. He gets confused sometimes.
Brad is offline
SweatyBanana
BANNED
Join Date: Sep 2005
Location: LOL
Old 04-07-2006 , 19:47  
Reply With Quote #6

I am special arent I..I mean smart...DOH!

CONFUSED!
SweatyBanana is offline
Send a message via AIM to SweatyBanana Send a message via Yahoo to SweatyBanana
dbdcobra
Junior Member
Join Date: Mar 2006
Old 04-18-2006 , 15:35   so no help?
Reply With Quote #7

Appreciate any help i can get on this.
Thx
dbdcobra is offline
Janet Jackson
Veteran Member
Join Date: Mar 2005
Location: far, far away from here
Old 04-18-2006 , 15:52  
Reply With Quote #8

Then you might want to start telling what mod you're using like c0rdawg suggested.
__________________
Janet Jackson is offline
dbdcobra
Junior Member
Join Date: Mar 2006
Old 04-18-2006 , 19:52  
Reply With Quote #9

I am using TFC...
I know it works i have seen it function in other servers...
just how do i enable it
dbdcobra is offline
Reply



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 18:34.


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