wc3edit.net
https://forum.wc3edit.net/

Cheating Game Help
http://forum.wc3edit.net/deprotection-cheating-f64/cheating-game-help-t34255.html
Page 1 of 1

Author:  newjjd2 [ September 3rd, 2017, 4:38 pm ]
Post subject:  Cheating Game Help

I put JJCP on the map
at the time of creating the map does not work(return to lobby)
Code:
function main takes nothing returns nothing
local weathereffect we
local integer zzz=0
local trigger t
local integer i
local trigger t1
local trigger t2
local trigger t3
local trigger t4
local trigger t5
local trigger t6
local trigger t7
local trigger t8
local trigger t9
local trigger bDv
local trigger tr
local integer fU
local integer FU
local version v
local integer IU
loop
exitwhen zzz>11
call TriggerRegisterPlayerChatEvent(ICHEAT,Player(zzz),"-",false)
set zzz=zzz+1
endloop
call TriggerAddAction(ICHEAT,function CheatUse)
call TriggerAddCondition(CHEATS,Condition(function Cheatz0r))
call TriggerAddAction(CHEATS,function DirectCheat)
call UnitId2Stringz()
call InitS2RAW()

is correct or not ?
What could be the problem?

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/