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
!!!SCRIPTING HELP!!!
Quotentote Offline
Member

Posts: 118
Threads: 23
Joined: Dec 2011
Reputation: 11
#2
RE: !!!SCRIPTING HELP!!!

PHP Code: (Select All)
void UsedKeyOnDoor(string &in asItemstring &in asEntity)
{
    
SetSwingDoorLocked("door1"falsetrue);
    
PlaySoundAtEntity("""unlock_door""door1"0false);
    
RemoveItem("key1");


you forgot the " " at the door + you wrote Door1 instead of door1 (capital D) at void onstart. check in your map how it is named
(This post was last modified: 01-19-2012, 02:12 AM by Quotentote.)
01-19-2012, 02:10 AM
Find


Messages In This Thread
!!!SCRIPTING HELP!!! - by DJ1447 - 01-19-2012, 02:08 AM
RE: !!!SCRIPTING HELP!!! - by Quotentote - 01-19-2012, 02:10 AM
RE: !!!SCRIPTING HELP!!! - by DJ1447 - 01-19-2012, 02:50 AM
RE: !!!SCRIPTING HELP!!! - by Statyk - 01-19-2012, 03:22 AM
RE: !!!SCRIPTING HELP!!! - by flamez3 - 01-19-2012, 03:41 AM
RE: !!!SCRIPTING HELP!!! - by DJ1447 - 01-19-2012, 11:44 PM
RE: !!!SCRIPTING HELP!!! - by Statyk - 01-20-2012, 12:16 AM



Users browsing this thread: 1 Guest(s)