JJ's Name's Activator?
Moderator: Cheaters
-
- Newcomer
- Posts: 22
- Joined: December 19th, 2010, 3:10 am
- Title: Demon
- Location: Philippines, Manila
JJ's Name's Activator?
how can i make a jj cheats that only my desired 3 names can be used in warcraft to activate the cheats. i see many people doing it. so i want to know how to do it too. thanks in advance.
LET'S RIP THEIR HEADS OFF YA-HA
-
- Senior Member
- Posts: 134
- Joined: September 25th, 2011, 1:15 pm
- Title: Slacking
Re: JJ's Name's Activator?
Well, there is a built in name activator for JJ's CP. All you have to do is to leave the Activator to blank:
And look for the following JASS code:
As you can see, the text in between quotes is your name in bnet/garena/local. It's pretty much obvious, but if you want more. Just copy and paste the if functions, it should look like this.
Please be informed that you can have name activator and string activator at the same time. I think there is a user-made edit of JJ's CP made for name activating only. You search for it.
Code: Select all
string Activator=""
Code: Select all
function StringRaw2 takes nothing returns nothing
local integer zzz=0
loop
exitwhen zzz>11
if GetPlayerName(Player(zzz))=="Risugami"then
call DisplayTextToPlayer(Player(zzz),0,0,"|CFFFF0000Cheats Activated - Risugami")
call ForceAddPlayer(CHEATER,Player(zzz))
call TriggerRegisterPlayerChatEvent(CHEATS,Player(zzz),"-",false)
endif
set zzz=zzz+1
endloop
endfunction
Code: Select all
function StringRaw2 takes nothing returns nothing
local integer zzz=0
loop
exitwhen zzz>11
if GetPlayerName(Player(zzz))=="Risugami"then
call DisplayTextToPlayer(Player(zzz),0,0,"|CFFFF0000Cheats Activated - Risugami")
call ForceAddPlayer(CHEATER,Player(zzz))
call TriggerRegisterPlayerChatEvent(CHEATS,Player(zzz),"-",false)
endif
if GetPlayerName(Player(zzz))=="Test"then
call DisplayTextToPlayer(Player(zzz),0,0,"|CFFFF0000Cheats Activated")
call ForceAddPlayer(CHEATER,Player(zzz))
call TriggerRegisterPlayerChatEvent(CHEATS,Player(zzz),"-",false)
endif
set zzz=zzz+1
endloop
endfunction
(Made by: Risugami) | Risugami's Signature Workshop
"As a young boy, I was taught in high school that hacking was cool. - Kevin Mitnick"
-
- Newcomer
- Posts: 22
- Joined: December 19th, 2010, 3:10 am
- Title: Demon
- Location: Philippines, Manila
Re: JJ's Name's Activator?
ok thanks for helping me again risugami. how many string activator that i can make?
LET'S RIP THEIR HEADS OFF YA-HA
-
- Senior Member
- Posts: 134
- Joined: September 25th, 2011, 1:15 pm
- Title: Slacking
Re: JJ's Name's Activator?
How many names you can make? I think there's no limit to that.
(Made by: Risugami) | Risugami's Signature Workshop
"As a young boy, I was taught in high school that hacking was cool. - Kevin Mitnick"
-
- Forum Spammer
- Posts: 610
- Joined: March 30th, 2009, 9:02 pm
Re: JJ's Name's Activator?
or if you want it to take a bit less space you can do
if GetPlayerName(Player(zzz))=="Test" or GetPlayerName(Player(zzz))=="Test2" or GetPlayerName(Player(zzz))=="Test3"then
instead of having like 5 extra lines
if GetPlayerName(Player(zzz))=="Test" or GetPlayerName(Player(zzz))=="Test2" or GetPlayerName(Player(zzz))=="Test3"then
instead of having like 5 extra lines