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


Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Putting two "if"s together
himynamebob1 Offline
Member

Posts: 57
Threads: 12
Joined: Jun 2012
Reputation: 0
#5
RE: Putting two "if"s together

Would this work?

void mansion_1(string &in entity)

{

if(GetSwingDoorLocked("mansion_1") == 1(orwhatevertrueis)
{
if(GetPropHealth("mansion_1") == i<70)
{
SetMessage("Messages", "labdoorlocked", 0);
}
}
}
07-05-2012, 09:40 PM
Find


Messages In This Thread
Putting two "if"s together - by ApeCake - 07-05-2012, 09:35 PM
RE: Putting two "if"s together - by Obliviator27 - 07-05-2012, 09:38 PM
RE: Putting two "if"s together - by Apjjm - 07-05-2012, 09:38 PM
RE: Putting two - by SilentStriker - 07-05-2012, 09:39 PM
RE: Putting two "if"s together - by himynamebob1 - 07-05-2012, 09:40 PM
RE: Putting two "if"s together - by Your Computer - 07-05-2012, 10:13 PM
RE: Putting two "if"s together - by ApeCake - 07-05-2012, 10:46 PM
RE: Putting two "if"s together - by ApeCake - 07-09-2012, 02:00 PM
RE: Putting two "if"s together - by Cruzore - 07-09-2012, 03:19 PM
RE: Putting two "if"s together - by Apjjm - 07-09-2012, 04:46 PM
RE: Putting two "if"s together - by ApeCake - 07-09-2012, 05:02 PM



Users browsing this thread: 1 Guest(s)