Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
how can I use 2 If statements in 1 function?
Magasztos Offline
Member

Posts: 54
Threads: 21
Joined: Jun 2012
Reputation: 0
#3
RE: how can I use 2 If statements in 1 function?

(07-22-2012, 01:07 PM)JMFStorm Wrote: Here's one example from my mod:



if(GetLocalVarInt("Book1Pulled") == 1 and GetLocalVarInt("Book3Pulled") == 0){

SetLocalVarInt("Book1and2PulledInRightOrder", 1);

}



I guess this should get you started.



Thanks alot this will get me started as u said :p


(when I first read it I was like "omg this is the guy tht made followed by death!!!?!")

~The Hulk is always greener on the other side~
07-22-2012, 01:13 PM
Find


Messages In This Thread
RE: how can I use 2 If statements in 1 function? - by Magasztos - 07-22-2012, 01:13 PM



Users browsing this thread: 1 Guest(s)