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 expected ")" or "," help please
MrIcabod123 Offline
Junior Member

Posts: 43
Threads: 7
Joined: Jan 2012
Reputation: 0
#7
RE: expected ")" or "," help please

He must have followed the tutorial from the wiki.

void OnStart()
{
AddUseItemCallback("", "ITEM", "DOOR", "FUNCTION", true);
}

void FUNCTION(string &in item, string &in door)
{
SetSwingDoorLocked(door, false, true);
PlaySoundAtEntity("", "unlock_door", door, 0, false);
RemoveItem(item);
}

04-16-2012, 09:47 PM
Find


Messages In This Thread
expected ")" or "," help please - by Chunckycat12 - 04-16-2012, 08:17 PM
RE: expected ")" or "," help please - by MrIcabod123 - 04-16-2012, 09:47 PM
RE: expected ")" or "," help please - by DRedshot - 04-17-2012, 12:42 AM
RE: expected ")" or "," help please - by flamez3 - 04-17-2012, 11:38 AM
RE: expected ")" or "," help please - by flamez3 - 04-17-2012, 12:48 PM



Users browsing this thread: 3 Guest(s)