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
Script Help Key
Your Computer Offline
SCAN ME!

Posts: 3,456
Threads: 32
Joined: Jul 2011
Reputation: 235
#18
RE: Key

(02-01-2012, 09:43 PM)Saren Wrote: My story works now... but my key dose'nt

Replace your KeyOnDoor function with this:

PHP Code: (Select All)
void UsedKeyOnDoor(string &in asItemstring &in asEntity)
{
    
SetSwingDoorLocked(asEntityfalsetrue);
    
PlaySoundAtEntity("""unlock_door"asEntity0false);
    
RemoveItem(asItem);


Tutorials: From Noob to Pro
02-01-2012, 10:14 PM
Website Find


Messages In This Thread
Key - by Saren - 02-01-2012, 04:28 PM
RE: Key - by SilentStriker - 02-01-2012, 04:32 PM
RE: Key - by Saren - 02-01-2012, 04:38 PM
RE: Key - by SilentStriker - 02-01-2012, 04:40 PM
RE: Key - by Saren - 02-01-2012, 04:42 PM
RE: Key - by SilentStriker - 02-01-2012, 04:45 PM
RE: Key - by flamez3 - 02-01-2012, 04:53 PM
RE: Key - by Saren - 02-01-2012, 05:00 PM
RE: Key - by Your Computer - 02-01-2012, 07:32 PM
RE: Key - by Saren - 02-01-2012, 07:36 PM
RE: Key - by Your Computer - 02-01-2012, 07:39 PM
RE: Key - by Saren - 02-01-2012, 08:34 PM
RE: Key - by SilentStriker - 02-01-2012, 08:37 PM
RE: Key - by Your Computer - 02-01-2012, 08:38 PM
RE: Key - by Saren - 02-01-2012, 09:05 PM
RE: Key - by Your Computer - 02-01-2012, 09:37 PM
RE: Key - by Saren - 02-01-2012, 09:43 PM
RE: Key - by Your Computer - 02-01-2012, 10:14 PM
RE: Key - by Saren - 02-01-2012, 10:45 PM



Users browsing this thread: 1 Guest(s)