Adding functions in cheatpacks
Moderator: Cheaters
-
- Newcomer
- Posts: 8
- Joined: March 24th, 2013, 12:28 pm
Adding functions in cheatpacks
Hi, I want to add the function -noreplay from JJ's CP and put it on Aero's CP, since Aero's CP doesn't have the -noreplay function, how do I do this ?
-
- Forum Staff
- Posts: 1470
- Joined: November 3rd, 2010, 10:48 am
- Title: Best Player
- Location: Singapore
- Contact:
Re: Adding functions in cheatpacks
The -noreplay command work as following
if SubString(s2s,0,9)=="-noreplay"then
call DoNotSaveReplay()
note that s2s is a jjcp variable.
if SubString(s2s,0,9)=="-noreplay"then
call DoNotSaveReplay()
note that s2s is a jjcp variable.
-
- Newcomer
- Posts: 8
- Joined: March 24th, 2013, 12:28 pm
Re: Adding functions in cheatpacks
Wait, how about when I add the -addlvl function from Aero's CP to JJ's CP? Could you please upload an attachment of the endglobals with Aero's -addlvl added to JJ's endglobals
Re: Adding functions in cheatpacks
elseif SubString(s2s,0,4)=="-lvl"then
call SetHeroLevel(u2u,i2i,false)
elseif SubString(s2s,0,7)=="-addlvl"then
call SetHeroLevel(u2u,GetHeroLevel(u2u)+1,false)
Try this.
call SetHeroLevel(u2u,i2i,false)
elseif SubString(s2s,0,7)=="-addlvl"then
call SetHeroLevel(u2u,GetHeroLevel(u2u)+1,false)
Try this.
- haxorico
- Super Moderator
- Posts: 3188
- Joined: February 24th, 2009, 1:31 pm
- Location: JEW LAND
- Contact:
Re: Adding functions in cheatpacks
Please post this on the triggering section next time.
Moved.
Moved.