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


Thread Rating:
  • 3 Vote(s) - 4.67 Average
  • 1
  • 2
  • 3
  • 4
  • 5
My problems
FlawlessHappiness Offline
Posting Freak

Posts: 3,980
Threads: 145
Joined: Mar 2012
Reputation: 171
RE: My problems

void func5()
{
if(GetLocalVarInt("Var1") == 3)
{
SetSwingDoorLocked("doorman", false, true);
PlaySoundAtEntity("", "unlock_door.snt", "doorman", 0.5f, false);
AddPlayerSanity(10);
}


Look at your last function here. You have 2 { but only 1 }... They must be equal

I suggest:

void func5()
{
if(GetLocalVarInt("Var1") == 3)
{
SetSwingDoorLocked("doorman", false, true);
PlaySoundAtEntity("", "unlock_door.snt", "doorman", 0.5f, false);
AddPlayerSanity(10);
}
}

Trying is the first step to success.
(This post was last modified: 10-29-2012, 06:58 PM by FlawlessHappiness.)
10-29-2012, 06:58 PM
Find


Messages In This Thread
My problems - by naseem142 - 10-14-2012, 07:26 AM
RE: My problems - by Robby - 10-14-2012, 08:34 AM
RE: My problems - by naseem142 - 10-14-2012, 08:38 AM
RE: My problems - by Robby - 10-14-2012, 08:43 AM
RE: My problems - by naseem142 - 10-14-2012, 08:49 AM
RE: My problems - by Robby - 10-14-2012, 08:51 AM
RE: My problems - by The chaser - 10-14-2012, 09:34 AM
RE: My problems - by Robby - 10-14-2012, 09:41 AM
RE: My problems - by The chaser - 10-14-2012, 09:46 AM
RE: My problems - by naseem142 - 10-14-2012, 09:54 AM
RE: My problems - by The chaser - 10-14-2012, 09:57 AM
RE: My problems - by naseem142 - 10-14-2012, 10:18 AM
RE: My problems - by Your Computer - 10-14-2012, 10:22 AM
RE: My problems - by naseem142 - 10-14-2012, 11:44 AM
RE: My problems - by The chaser - 10-14-2012, 01:13 PM
RE: My problems - by naseem142 - 10-14-2012, 01:45 PM
RE: My problems - by Robby - 10-15-2012, 05:28 AM
RE: My problems - by naseem142 - 10-18-2012, 02:54 PM
RE: My problems - by The chaser - 10-18-2012, 03:09 PM
RE: My problems - by naseem142 - 10-18-2012, 04:10 PM
RE: My problems - by FlawlessHappiness - 10-18-2012, 04:44 PM
RE: My problems - by naseem142 - 10-18-2012, 05:52 PM
RE: My problems - by Robby - 10-18-2012, 05:58 PM
RE: My problems - by naseem142 - 10-18-2012, 06:28 PM
RE: My problems - by The chaser - 10-18-2012, 04:44 PM
RE: My problems - by FlawlessHappiness - 10-18-2012, 06:30 PM
RE: My problems - by naseem142 - 10-18-2012, 06:34 PM
RE: My problems - by FlawlessHappiness - 10-18-2012, 06:36 PM
RE: My problems - by Robby - 10-18-2012, 06:37 PM
RE: My problems - by The chaser - 10-18-2012, 06:38 PM
RE: My problems - by naseem142 - 10-18-2012, 08:51 PM
RE: My problems - by naseem142 - 10-19-2012, 12:07 PM
RE: My problems - by The chaser - 10-19-2012, 12:50 PM
RE: My problems - by naseem142 - 10-19-2012, 12:56 PM
RE: My problems - by FlawlessHappiness - 10-19-2012, 01:18 PM
RE: My problems - by The chaser - 10-19-2012, 01:26 PM
RE: My problems - by FlawlessHappiness - 10-19-2012, 12:48 PM
RE: My problems - by Robby - 10-19-2012, 12:52 PM
RE: My problems - by FlawlessHappiness - 10-19-2012, 12:56 PM
RE: My problems - by The chaser - 10-19-2012, 12:57 PM
RE: My problems - by naseem142 - 10-19-2012, 02:12 PM
RE: My problems - by Robby - 10-19-2012, 02:20 PM
RE: My problems - by naseem142 - 10-19-2012, 03:00 PM
RE: My problems - by Robby - 10-19-2012, 03:05 PM
RE: My problems - by naseem142 - 10-19-2012, 03:08 PM
RE: My problems - by Robby - 10-19-2012, 03:13 PM
RE: My problems - by naseem142 - 10-19-2012, 03:25 PM
RE: My problems - by Robby - 10-19-2012, 03:26 PM
RE: My problems - by naseem142 - 10-19-2012, 03:38 PM
RE: My problems - by Robby - 10-19-2012, 03:40 PM
RE: My problems - by naseem142 - 10-19-2012, 03:51 PM
RE: My problems - by Robby - 10-19-2012, 03:54 PM
RE: My problems - by naseem142 - 10-19-2012, 03:56 PM
RE: My problems - by Robby - 10-19-2012, 03:58 PM
RE: My problems - by naseem142 - 10-19-2012, 04:21 PM
RE: My problems - by Robby - 10-19-2012, 04:23 PM
RE: My problems - by naseem142 - 10-19-2012, 04:26 PM
RE: My problems - by Robby - 10-19-2012, 04:29 PM
RE: My problems - by The chaser - 10-19-2012, 04:30 PM
RE: My problems - by Robby - 10-19-2012, 04:36 PM
RE: My problems - by naseem142 - 10-19-2012, 04:36 PM
RE: My problems - by Robby - 10-19-2012, 04:37 PM
RE: My problems - by naseem142 - 10-19-2012, 04:35 PM
RE: My problems - by naseem142 - 10-19-2012, 04:37 PM
RE: My problems - by Robby - 10-19-2012, 04:38 PM
RE: My problems - by The chaser - 10-19-2012, 04:40 PM
RE: My problems - by Robby - 10-19-2012, 04:46 PM
RE: My problems - by naseem142 - 10-19-2012, 04:44 PM
RE: My problems - by The chaser - 10-19-2012, 04:52 PM
RE: My problems - by Robby - 10-19-2012, 04:53 PM
RE: My problems - by naseem142 - 10-19-2012, 04:55 PM
RE: My problems - by The chaser - 10-19-2012, 04:55 PM
RE: My problems - by naseem142 - 10-19-2012, 04:57 PM
RE: My problems - by Robby - 10-19-2012, 05:12 PM
RE: My problems - by naseem142 - 10-19-2012, 05:15 PM
RE: My problems - by Robby - 10-19-2012, 05:16 PM
RE: My problems - by naseem142 - 10-19-2012, 05:33 PM
RE: My problems - by Robby - 10-19-2012, 05:35 PM
RE: My problems - by naseem142 - 10-19-2012, 06:15 PM
RE: My problems - by The chaser - 10-19-2012, 08:13 PM
RE: My problems - by The chaser - 10-20-2012, 04:57 PM
RE: My problems - by Robby - 10-19-2012, 06:16 PM
RE: My problems - by naseem142 - 10-19-2012, 06:26 PM
RE: My problems - by Robby - 10-19-2012, 06:34 PM
RE: My problems - by naseem142 - 10-19-2012, 06:38 PM
RE: My problems - by Robby - 10-19-2012, 07:13 PM
RE: My problems - by Robby - 10-20-2012, 04:23 PM
RE: My problems - by naseem142 - 10-21-2012, 08:49 AM
RE: My problems - by Adny - 10-21-2012, 08:57 AM
RE: My problems - by naseem142 - 10-21-2012, 09:00 AM
RE: My problems - by FlawlessHappiness - 10-21-2012, 09:53 AM
RE: My problems - by rammstein1999 - 10-21-2012, 11:31 AM
RE: My problems - by FlawlessHappiness - 10-21-2012, 01:25 PM
RE: My problems - by The chaser - 10-21-2012, 01:30 PM
RE: My problems - by naseem142 - 10-21-2012, 05:35 PM
RE: My problems - by Robby - 10-21-2012, 05:40 PM
RE: My problems - by naseem142 - 10-21-2012, 05:51 PM
RE: My problems - by Robby - 10-23-2012, 05:58 PM
RE: My problems - by naseem142 - 10-23-2012, 05:34 PM
RE: My problems - by The chaser - 10-23-2012, 05:44 PM
RE: My problems - by naseem142 - 10-23-2012, 05:45 PM
RE: My problems - by FlawlessHappiness - 10-23-2012, 06:35 PM
RE: My problems - by Robby - 10-23-2012, 06:40 PM
RE: My problems - by naseem142 - 10-25-2012, 09:50 AM
RE: My problems - by Kreekakon - 10-25-2012, 09:53 AM
RE: My problems - by naseem142 - 10-25-2012, 09:54 AM
RE: My problems - by The chaser - 10-25-2012, 10:52 AM
RE: My problems - by naseem142 - 10-25-2012, 10:55 AM
RE: My problems - by naseem142 - 10-26-2012, 11:34 AM
RE: My problems - by The chaser - 10-26-2012, 01:00 PM
RE: My problems - by naseem142 - 10-27-2012, 10:42 AM
RE: My problems - by Adny - 10-27-2012, 10:46 AM
RE: My problems - by naseem142 - 10-27-2012, 11:43 AM
RE: My problems - by naseem142 - 10-28-2012, 08:00 AM
RE: My problems - by naseem142 - 10-28-2012, 09:04 AM
RE: My problems - by Robby - 10-28-2012, 09:09 AM
RE: My problems - by naseem142 - 10-28-2012, 09:49 AM
RE: My problems - by The chaser - 10-28-2012, 11:10 AM
RE: My problems - by naseem142 - 10-29-2012, 11:26 AM
RE: My problems - by Adny - 10-29-2012, 11:29 AM
RE: My problems - by naseem142 - 10-29-2012, 11:31 AM
RE: My problems - by naseem142 - 10-29-2012, 02:57 PM
RE: My problems - by FlawlessHappiness - 10-29-2012, 03:04 PM
RE: My problems - by naseem142 - 10-29-2012, 03:34 PM
RE: My problems - by Robby - 10-29-2012, 03:45 PM
RE: My problems - by naseem142 - 10-29-2012, 06:46 PM
RE: My problems - by FlawlessHappiness - 10-29-2012, 06:58 PM
RE: My problems - by naseem142 - 10-30-2012, 08:49 AM
RE: My problems - by FlawlessHappiness - 10-30-2012, 09:58 AM
RE: My problems - by The chaser - 10-30-2012, 12:47 PM
RE: My problems - by FlawlessHappiness - 10-30-2012, 01:06 PM
RE: My problems - by The chaser - 10-30-2012, 01:11 PM
RE: My problems - by The chaser - 10-30-2012, 04:20 PM
RE: My problems - by FlawlessHappiness - 10-30-2012, 03:58 PM
RE: My problems - by naseem142 - 11-04-2012, 12:09 PM
RE: My problems - by naseem142 - 11-04-2012, 01:33 PM
RE: My problems - by The chaser - 11-04-2012, 01:48 PM
RE: My problems - by johnbox - 11-04-2012, 01:56 PM
RE: My problems - by Kreekakon - 11-04-2012, 02:05 PM
RE: My problems - by naseem142 - 11-04-2012, 03:13 PM
RE: My problems - by Kreekakon - 11-04-2012, 03:17 PM
RE: My problems - by naseem142 - 11-04-2012, 03:27 PM
RE: My problems - by naseem142 - 11-09-2012, 10:13 AM
RE: My problems - by FlawlessHappiness - 11-09-2012, 11:43 AM
RE: My problems - by naseem142 - 11-09-2012, 01:55 PM
RE: My problems - by The chaser - 11-09-2012, 01:59 PM
RE: My problems - by FlawlessHappiness - 11-09-2012, 02:24 PM
RE: My problems - by naseem142 - 11-09-2012, 04:01 PM



Users browsing this thread: 2 Guest(s)