A simply question.

General talk about editing, cheating, and deprotecting maps.

Moderator: Cheaters

[=ryCgg=]
Senior Member
Posts: 152
Joined: October 5th, 2009, 7:31 am
Title: Taiwan, Singapore
Location: Here!? XD

A simply question.

Post by [=ryCgg=] »

What is the difference between 'true' and 'false' in JASS?
User avatar
Hillo
Forum Staff
Posts: 615
Joined: June 9th, 2008, 9:51 am
Location: Finland

Re: A simply question.

Post by Hillo »

One is true and the other one is false ? Used on booleans and condition checks.
Image
[=ryCgg=]
Senior Member
Posts: 152
Joined: October 5th, 2009, 7:31 am
Title: Taiwan, Singapore
Location: Here!? XD

Re: A simply question.

Post by [=ryCgg=] »

Hillo wrote:One is true and the other one is false ? Used on booleans and condition checks.

LOL.

Hmm, any examples?
User avatar
Hillo
Forum Staff
Posts: 615
Joined: June 9th, 2008, 9:51 am
Location: Finland

Re: A simply question.

Post by Hillo »

Code: Select all

boolean hillorules = true


Code: Select all

function hillorullz
call ExecuteFunc"lolo hillo fails"
if hillorules then
call ExecuteFunc"lolo hillo rules"
endif
endfunction


So it checks if boolean hillorules is true and if it is, then it does

Code: Select all

call ExecuteFunc"lolo hillo rules"
Image
User avatar
infernorock
Forum Fanatic
Posts: 324
Joined: August 31st, 2008, 10:24 am
Title: ☆Fate Testarossa★
Location: Malaysia

Re: A simply question.

Post by infernorock »

Another simply answer is:
A: Did hillo rocks
B: Maybe
Conclusion: hillo ROCKS

Like math =)

Correct me if wrong XD
[spoiler="Wc3 I'm using and Garena ID"]The wc3 version I'm current using:1.21,1.24b,1.24e
Garena UID-->pkyer123(BANNED for some reason LOL)
-->pkyer(Active)
-->InfernoRock(Banned for inactive...WTF!?)[/spoiler]
Small Sized Duck wrote:IF someone is talking about a map they wanted cheated 17 years ago. And you bump it, you're retarded.
[=ryCgg=]
Senior Member
Posts: 152
Joined: October 5th, 2009, 7:31 am
Title: Taiwan, Singapore
Location: Here!? XD

Re: A simply question.

Post by [=ryCgg=] »

Icic.. Thanks for the tips..

Hillo fails...