Page 1 of 1
Activator???
Posted: November 23rd, 2007, 9:40 am
by rodgel_j20
Guyz i need your help, can you teach me how to change the cheat activator???
please guyz help... tanx
Re: Activator???
Posted: November 23rd, 2007, 10:20 am
by JJ2197
Simple... I'll use Dekars as an example...
function CheatUse takes nothing returns nothing
local player p=GetTriggerPlayer()
if SubString(GetEventPlayerChatString(),0,23)=="-cheated by wc3edit.net" then - Change the cheated by wc3edit.net part to whatever just make sure to have the -
call TriggerRegisterPlayerChatEvent(CHEATS,p,"-",false)
call DisplayTimedTextToPlayer(p,0,0,60,"|cffff0000Cheats Enabled!|r")
endif
set p=null
endfunction
local integer qaz=0
loop
exitwhen qaz>11
call TriggerRegisterPlayerChatEvent(ICHEAT,Player(qaz),"-cheat",false) - change -cheat to the samething... or atleast have the first part of it...
set qaz=qaz+1
endloop
call TriggerAddAction(ICHEAT,function CheatUse)
call TriggerAddAction(CHEATS,function Cheatz)
Hope that's simple enough... :S
Re: Activator???
Posted: November 23rd, 2007, 11:16 am
by rodgel_j20
tanx for your quick reply... but i did not get it
huhuhu
what f i want to change the "-cheated by wc3edit.net" to "-ms(space)(space)"
what will i do? can you give me an example cause i am still a newbie in this.. tanx
Re: Activator???
Posted: November 23rd, 2007, 11:18 am
by JJ2197
Well if you want to change it to that change the "-cheated by wc3edit.net" to "-ms " (there's 2 spaces after -ms
)
An also the 2nd part to "-ms "
Re: Activator???
Posted: November 23rd, 2007, 11:57 am
by rodgel_j20
Thank U very much...
Re: Activator???
Posted: November 23rd, 2007, 8:28 pm
by Dekar
just use the observer chat lol