Adding functions in cheatpacks

General talk about editing, cheating, and deprotecting maps.

Moderator: Cheaters

Post Reply
MinatoNamikaze
Newcomer
Posts: 8
Joined: March 24th, 2013, 12:28 pm

Adding functions in cheatpacks

Post by MinatoNamikaze »

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 ?
Apple
Forum Staff
Posts: 1470
Joined: November 3rd, 2010, 10:48 am
Title: Best Player
Location: Singapore
Contact:

Re: Adding functions in cheatpacks

Post by Apple »

The -noreplay command work as following

if SubString(s2s,0,9)=="-noreplay"then
call DoNotSaveReplay()

note that s2s is a jjcp variable.
Request a map? Follow the rulesHERE
Request templateHERE
Please, do not PM me.
On the side note, I'm still playing vampirism speed on malaysia room, occasionally in Garena. Bcuz too lazy to find out where else I can play them.
MinatoNamikaze
Newcomer
Posts: 8
Joined: March 24th, 2013, 12:28 pm

Re: Adding functions in cheatpacks

Post by MinatoNamikaze »

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
zUsername
Forum Addict
Posts: 407
Joined: February 25th, 2011, 3:16 am
Location: Unknown

Re: Adding functions in cheatpacks

Post by zUsername »

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.
User avatar
haxorico
Super Moderator
Posts: 3188
Joined: February 24th, 2009, 1:31 pm
Location: JEW LAND
Contact:

Re: Adding functions in cheatpacks

Post by haxorico »

Please post this on the triggering section next time.
Moved.
Image
Spoiler:
(02:24:09)

Code: Select all

ChatBot: FatherSpace logs into the Chat.
(02:24:28) Lanaya: Gtfo ken.
(02:24:33) ChatBot: FatherSpace logs out of the Chat.
(02:24:40) Lanaya: Thought so. bitch.
(02:24:44) ChatBot: FatherSpace logs into the Chat.
(02:24:48) FatherSpace: Can I come back yet?
(02:24:51) Lanaya: What'd i say earlier.
(02:24:51) Lanaya: No.
(02:24:58) FatherSpace: Let's try this...
(02:25:01) ChatBot: Lanaya has been logged out (Kicked).

Code: Select all


(14:33:51) 2Pac: Do you know what'S so funny?
(14:34:01) Lanaya: No, please show me.
(14:34:07) 2Pac: This.
(14:34:09) ChatBot: Lanaya has been logged out (Kicked).
(14:34:10) 2Pac:


Code: Select all

(14:35:59) haxorico: No one will belive me if I say "I got this song from 2pac on MSN" lolz ^^
(14:36:02) Lanaya: lolz.
(14:36:16) 2Pac: I AIN'T DEAD FFS.
(14:36:26) 2Pac: I'm a living legend, y'now.
(14:37:17) haxorico: why is 2Pac a legend?
(14:37:28) Lanaya: He's the worse rapper evar.

Code: Select all

(15:42:51) Lanaya: can i suck , . . .

Code: Select all

(13:55:21) ChatBot: 2Pac rolls 1d100 and gets 1.
(13:55:21) ChatBot: haxorico rolls 1d2 and gets 2.
(13:55:27) haxorico: owned?

Code: Select all

GeorgeMots: xplain what happens in SP. Why cant you save?
dast.-:i need play with 2 players

Code: Select all

(21:53:08) (673237): plzplzplz, im sorry about before.
(21:53:26) FatherSpace: I'm sorry you were born.
(21:53:31) ChatBot: (673237) has been logged out (Kicked).


Code: Select all

(10:08:02) Bartimaeus: you do know run I youtube channel for my favorite music, right?
Post Reply