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
Fatal Error Script
Mateh Offline
Junior Member

Posts: 10
Threads: 3
Joined: Oct 2010
Reputation: 0
#1
Fatal Error Script

Small problem witch script Code text of error {main (6,1):ERR : expected ';' }
:
script:

Quote:////////////////////////////
// Run first time starting map
void OnStart()
{
AddUseItemCallback("", "key_tower_1", "prison_section_1", "UsedKeyOnDoor", true)
}

void UsedKeyOnDoor(string &in asItem, string &in asEntity)

{
SetSwingDoorLocked("prison_section_1", false, true);
PlaySoundAtEntity("", "unlockdoor", "prison_section_1", 0, false);
RemoveItem("key_tower_1");
}


////////////////////////////
// Run when entering map
void OnEnter()
{

}

////////////////////////////
// Run when leaving map
void OnLeave()
{

}


What is wrong in the names are well written.
Sorry for may Englisch.
10-16-2010, 06:00 PM
Find


Messages In This Thread
Fatal Error Script - by Mateh - 10-16-2010, 06:00 PM
RE: Fatal Error Script - by Entih - 10-16-2010, 06:08 PM
RE: Fatal Error Script - by Mateh - 10-16-2010, 06:14 PM



Users browsing this thread: 1 Guest(s)