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!!!
DJ1447 Offline
Junior Member

Posts: 3
Threads: 1
Joined: Jan 2012
Reputation: 0
#3
RE: !!!SCRIPTING HELP!!!

(01-19-2012, 02:10 AM)Quotentote Wrote:
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

Thnx for trying but still doesnt work
01-19-2012, 02:50 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)