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
Need help with key sais error
flamez3 Offline
Posting Freak

Posts: 1,281
Threads: 48
Joined: Apr 2011
Reputation: 57
#6
RE: Need help with key sais error

(03-01-2012, 07:01 AM)Juby Wrote:
My personal favorite way to do this:

void UsedKeyOnDoor(string &in Item, string &in Door)
{
SetSwingDoorLocked(Door, false, true);
PlaySoundAtEntity("", "unlock_door", Door, 0, false);
RemoveItem(Item);
}

so you can use it multiple times Smile
Wouldn't it be


SetSwingDoorLocked(asEntity, false, true);

03-01-2012, 07:08 AM
Find


Messages In This Thread
Need help with key sais error - by swapinamnesia - 02-29-2012, 11:48 PM
RE: Need help with key sais error - by Tanshaydar - 03-01-2012, 12:18 AM
RE: Need help with key sais error - by Tanshaydar - 03-01-2012, 01:30 AM
RE: Need help with key sais error - by Juby - 03-01-2012, 07:01 AM
RE: Need help with key sais error - by flamez3 - 03-01-2012, 07:08 AM
RE: Need help with key sais error - by Tanshaydar - 03-01-2012, 08:57 AM
RE: Need help with key sais error - by flamez3 - 03-01-2012, 09:08 AM



Users browsing this thread: 2 Guest(s)