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
Can Someone Tell Me The Wrong??...
Jayvee17 Offline
Junior Member

Posts: 25
Threads: 6
Joined: May 2011
Reputation: 0
#1
Question  Can Someone Tell Me The Wrong??...

What Is Wrong In This .hps?? Huh

////////////////////////////
// Run first time starting map
void OnStart()
{
FadeIn(3);
SetPlayerActive(true);
ShowPlayerCrossHairIcons(true);
SetInventoryDisabled(false);
SetPlayerJumpDisabled(false);
SetPlayerCrouchDisabled(false);
AddUseItemCallback("", "Door_1_Key", "Door_1", "UsedKeyOnDoor_01", true);
AddUseItemCallback("", "Door_3_Key", "Door_3", "UsedKeyOnDoor_02", true);

{
SetSwingDoorLocked("Door_3", false, true);
PlaySoundAtEntity("", "unlock_door", "Door_3", 0, false);
RemoveItem("Door_3_Key");
}

void UsedKeyOnDoor_03(string &in asItem, string &in asEntity)
}

SetSwingDoorLocked("Door_Of_Freedom", false, true);
PlaySoundAtEntity("", "unlock_door", "Door_Of_Freedom", 0, false);
RemoveItem("Key_Of_Freedom");
}

void UsedKeyOnDoor_Of_Freedom(string &in asItem, string &in asEntity)
{
GiveItemFromFile("lantern", "lantern.ent");
}
{
SetEntityPlayerInteractCallback("Key_Of_Freedom", "Func01", true);
}
void Func01(string &in asEntity)
{
SetEntityActive("servant_grunt_1", true);
}
05-31-2011, 01:03 PM
Find


Messages In This Thread
Can Someone Tell Me The Wrong??... - by Jayvee17 - 05-31-2011, 01:03 PM
RE: Can Someone Tell Me The Wrong??... - by Kyle - 06-01-2011, 11:05 AM



Users browsing this thread: 1 Guest(s)