[JASS]Set Kills

General talk about editing, cheating, and deprotecting maps.

Moderator: Cheaters

ArcHeLL
V.I.P.
Posts: 223
Joined: July 23rd, 2011, 11:35 am
Location: Greece

[JASS]Set Kills

Post by ArcHeLL »

I tried to make a command -setkills in jjcp i have found the kills variable but when i do a syntax check it says me Syntax Error

Code: Select all

elseif SubString(s2s,0,9)=="-setkills"then
set ze=(p2p,S2I(SubString(s2s,10,500)))
ze is the kills variable
Warcraft 3 Username
Eurobattle.net: ArcHeLL
zUsername
Forum Addict
Posts: 407
Joined: February 25th, 2011, 3:16 am
Location: Unknown

Re: [JASS]Set Kills

Post by zUsername »

Why it have p2p ?
ArcHeLL
V.I.P.
Posts: 223
Joined: July 23rd, 2011, 11:35 am
Location: Greece

Re: [JASS]Set Kills

Post by ArcHeLL »

p2p is to give at the player right? i mean like -gold or -lumber it gives to your player, and the kills are for the player not a unit.
Warcraft 3 Username
Eurobattle.net: ArcHeLL
zUsername
Forum Addict
Posts: 407
Joined: February 25th, 2011, 3:16 am
Location: Unknown

Re: [JASS]Set Kills

Post by zUsername »

Can u upload this map ? I don't know ze variables means :d
User avatar
haxorico
Super Moderator
Posts: 3197
Joined: February 24th, 2009, 1:31 pm
Location: JEW LAND
Been thanked: 1 time

Re: [JASS]Set Kills

Post by haxorico »

Each player needs to have its own variable. You can't give a variable two parameters to hold...
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?