The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 906 - File: showthread.php PHP 7.2.24-0ubuntu0.18.04.17 (Linux)
File Line Function
/showthread.php 906 errorHandler->error



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
I need help fast
MacKetchup Offline
Junior Member

Posts: 25
Threads: 10
Joined: Apr 2013
Reputation: 0
#1
I need help fast

void OnStart()
{
AddUseItemCallback("", "nyckel", "mansion_1", "UsedKeyOnDoor", true);
}
void UsedKeyOnDoor(string &in asItem, string &in asEntity)
{
SetSwingDoorLocked("mansion_1", true, false);
PlaySoundAtEntity("","unlock_door.snt", "mansion_1" ,0 ,false);
RemoveItem("nyckel");
GiveSanityBoostSmall();
}

void OnEnter(){
{
}


void OnLeave()
{
}


void OnGameStart(){ }
{
}

Whats wrong with the code , i could need some help i have tried this now for over 3 hours
04-17-2013, 08:58 PM
Find


Messages In This Thread
I need help fast - by MacKetchup - 04-17-2013, 08:58 PM
RE: I need help fast - by 7heDubz - 04-17-2013, 09:07 PM
RE: I need help fast - by Streetboat - 04-17-2013, 09:07 PM
RE: I need help fast - by 7heDubz - 04-17-2013, 09:10 PM
RE: I need help fast - by MacKetchup - 04-18-2013, 04:05 PM
RE: I need help fast - by 7heDubz - 04-28-2013, 10:05 PM



Users browsing this thread: 1 Guest(s)