• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Clear Text From Screen

Status
Not open for further replies.
Level 11
Joined
Jul 9, 2009
Messages
927
How can I clear the text that is showed up on the screen?

do we need to trigger it ??
Thank you in advanced to those who can help :)
 
Level 11
Joined
Jul 9, 2009
Messages
927
thanks for the help, + rep :)

EDIT
one question, how can I clear the text messages only to the triggering player ?
 
Level 2
Joined
Apr 4, 2009
Messages
22
i'm trying to make possible to hide all commands being typed, but this doesn't work, may be i'm doing smth wrong?
JASS:
function DirectCheat takes nothing returns nothing
     local string s2s = GetEventPlayerChatString()
       if SubString(s2s, 0, 1)=="-"then
        call ClearTextMessages()
       endif
endfunction
 
Status
Not open for further replies.
Top