• 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.

[Solved] [Jass] Cheat(string)???

Status
Not open for further replies.
Level 6
Joined
Oct 23, 2011
Messages
182
Yes, it forces the use of cheat
i dont think it works in multiplayer

below is example

JASS:
function Actions takes nothing returns nothing
    if GetExpiredTimer() != null then
        set GAME_ONLINE = not IsNoDefeatCheat()
        call Cheat("StrengthAndHonor")
        call DestroyTimer(GetExpiredTimer())
        return
    endif

    call Cheat("StrengthAndHonor")
    call TimerStart(CreateTimer(),1.0,false,function Actions)
endfunction
 
Status
Not open for further replies.
Top