Edit the cheat pack activator..

General talk about editing, cheating, and deprotecting maps.

Moderator: Cheaters

User avatar
risker
Forum Staff
Posts: 351
Joined: June 8th, 2008, 3:05 am
Location: Australia

Edit the cheat pack activator..

Post by risker »

Alright.. i'm wondering if someone could put together a code
That the first person to activate the cheats is the last person
Like only one person in the game can activate the cheats.

Risker: -risker
Cheats Activated
RandomNoob: -risker
//nothing happens

But i don't want it only for risker.. basically the first person to type it?
Understand? O_o?

Please and thankyou <3
User avatar
Xantan
Honorary wc3edit.net Traitor
Posts: 2507
Joined: February 1st, 2007, 4:11 pm
Location: NEVADA

Re: Edit the cheat pack activator..

Post by Xantan »

K.

If someone types -risker, for say (once you change the activators), then use a jass function, call disable(trigger) or so, [turn off the activating trigger / deletes it] with jass Nobody then can activate once someone activates....
Simple enough?

Done.
initialD
Some Honorary Title
Posts: 1713
Joined: June 8th, 2007, 5:08 am
Title: Angry Bird

Re: Edit the cheat pack activator..

Post by initialD »

yeah so simple.
As you see in JJcp or Aerocp or other cp.
There are 2 globals trigger. One is for password. Another is for cehats. Just disable the trigger for password after you have activate your cehats. Make sure you did't disable the wrong trigger. :p
lol