Sign in to follow this  
Jaden_Adams

Colors

Recommended Posts

Jaden_Adams    0

Don't work in color. have a stroke

player.outputChatBox ("<b style='color: red'>incorrect password, try again!</b>");

Here is what displays in the in-game chat:

<b style='color: red'>incorrect password, try again!</b>

How to fix it? In JavaScript, a programmer recently, asking for help!

 

 

Sorry for the curve English. Use google translator!

Edited by Jaden_Adams

Share this post


Link to post
Share on other sites
Captien    29

You need to trigger the safeMode to true.

just put in client-side

mp.gui.chat.safeMode = false;

and your html code will work.
 

 

  • Like 1

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.