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
Apjjm Offline
Is easy to say

Posts: 496
Threads: 18
Joined: Apr 2011
Reputation: 52
#3
RE: Putting two "if"s together

You were not far off at all:
void mansion_1(string &in entity)
{
if(GetSwingDoorLocked("mansion_1") && GetPropHealth("mansion_1") < 70)
{
SetMessage("Messages", "labdoorlocked", 0);
}
}
(This post was last modified: 07-05-2012, 09:39 PM by Apjjm.)
07-05-2012, 09:38 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)