Question!?

General talk about editing, cheating, and deprotecting maps.

Moderator: Cheaters

Mofonzoe
Newcomer
Posts: 4
Joined: January 1st, 2011, 9:56 am

Question!?

Post by Mofonzoe »

Is it possible to make it so that a cheat pack can only be accessed by someone with a certain name?
User avatar
Bartimaeus
Tyrannical Drama Queen
Posts: 4427
Joined: November 19th, 2007, 5:05 am
Been thanked: 2 times

Re: Question!?

Post by Bartimaeus »

Sure. Presuming you're trying to do it with JJ's CP, (this version in particular), then all you have to do is remove the "-" in:

Code: Select all

string Activator="-cheats  "]
Then replace either names in either of these lines:

Code: Select all

if GetPlayerName(Player(zzz))=="JJ2197"then
if GetPlayerName(Player(zzz))=="SpicePirate"then
...with your own name.
Mofonzoe
Newcomer
Posts: 4
Joined: January 1st, 2011, 9:56 am

Re: Question!?

Post by Mofonzoe »

Ahh alright thank you very much!
dhanielst
Member
Posts: 73
Joined: September 10th, 2012, 6:39 am

Re: Question!?

Post by dhanielst »

@Bartimaeus hey br0 where i
put that code of name activator
in jjcp to use the name activator
im using jjcp lite by hax0
http://forum.wc3edit.net/deprotection-c ... 16758.html
Like in fb -> Dota Cheated Maps

Sorry for my bad english because english is not my native language. :D