Announcement

Collapse
No announcement yet.

Different FontColors on the same input

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Different FontColors on the same input

    Hey, Thanks for checkin me out, there's a code like when i type a specefic sumthin a command happens there it is
    Code:
    _Char
    local text=Input.GetText(this)
    if text == "I am not a command" then 
    -- Your Command
    elseif text == "I am command" then 
    -- Your command
    end
    but i want when i type a the specefic sumthin it font color should be different than the others.. please help
    Best Regards ^^
    btw i tried to
    Code:
    Input.SetProperties("Input1", tblProps);
    -- The table was containing color hex code
    It changed the color but the color of the whole text..
Working...
X