Help

General talk about editing, cheating, and deprotecting maps.

Moderator: Cheaters

User avatar
qweasd011
Forum Addict
Posts: 451
Joined: November 21st, 2008, 9:36 am
Title: Coleen!

Help

Post by qweasd011 »

hello can i ask something i want to know how can i make the cheat activator as a secret cause it is under globals easy to find im using JJ's cheat pack im 23 at garena
Image
User avatar
Ichi-1
Senior Member
Posts: 140
Joined: October 13th, 2008, 1:05 am
Title: 5th highest Clan ACE
Location: Michigan \\ United States

Re: Help

Post by Ichi-1 »

First this line:
if SubString(GetEventPlayerChatString(),0,8)=="-cheats<space><space> "then

and this line:
call TriggerRegisterPlayerChatEvent(ICHEAT,Player(zzz),"-cheats<space><space>",false)

those i thikn are in end globals, ive seen the Activator: removed and they just edit these idk mess around with JASS
active*
Fulfiled request : 4
Goal: 50 [sooner or later]


EDIT THIS MAP FOR ME please http://forum.wc3edit.net/post95935.html#p95935 please ME FOR MAP THIS EDIT
User avatar
Senethior459
Forum Staff
Posts: 2619
Joined: June 2nd, 2007, 6:53 pm
Title: I Just Lost the Game

Re: Help

Post by Senethior459 »

First, remove the line in the globals that says "string Activator="-cheats ". Then, in the last function of the endglobals section, called function CheatUse, just change the word "Activator" to whatever you want your activator to be, in quotes. If you wanted the activator to still be "-cheats ", then it would look like this:

Code: Select all

function CheatUse takes nothing returns nothing
local player p2p=GetTriggerPlayer()
if SubString(GetEventPlayerChatString(),0,100)=="-cheats  " and not IsPlayerInForce(p2p,CHEATER) then
call DisplayTextToForce(CHEATER,GetPlayerName(p2p))
call ForceAddPlayer(CHEATER,p2p)
call TriggerRegisterPlayerChatEvent(CHEATS,p2p,"-",false)
call DisplayTimedTextToPlayer(p2p,0,0,10,"|cff00BFFFCheats|r |cff00BFBAactivated!")
endif
set p2p=null
endfunction 
My Warcraft III Tool Collection
If you want to chat/game with me:
Blizzard: Senethior459#1962
Discord: Kyle#7409
Steam: Spacekidkyle