View Single Post
MegoltElek
Junior Member
Join Date: Dec 2020
Old 04-29-2022 , 11:41   Re: [CS:GO] How to show a picture in hint?
Reply With Quote #7

Quote:
Originally Posted by Bacardi View Post
PHP Code:
public void OnPluginStart()
{
    
RegConsoleCmd("sm_test"test);
}

public 
Action test(int clientint args)
{
    
//Event text = CreateEvent("cs_win_panel_round");
    //text.SetString("funfact_token", " <img width=\"100\" height=\"20\" src=\"https://steamuserimages-a.akamaihd.net/ugc/1057730172048477495/BA0F6CCDCB917AA2BDE2EF0312C57D763A61D341/\">");
    //FireEvent(text);
    
    
PrintHintText(client" <span><img width=\"100\" height=\"20\" src=\"https://steamuserimages-a.akamaihd.net/ugc/1057730172048477495/BA0F6CCDCB917AA2BDE2EF0312C57D763A61D341/\"></span>");


    return 
Plugin_Handled;

Working, ty
<img> tag don't work on it self, but works with <span>
MegoltElek is offline