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 could not load script file
TheKaci1234 Offline
Junior Member

Posts: 2
Threads: 1
Joined: Apr 2013
Reputation: 0
#1
Fatal error could not load script file

Hi im new in scripting i got an error:
FATAL ERROR: Could not load script file
'custom_stories/domek/maps/domek.hps'!
main (3, 19) : ERR : Expected ';'


My script file:
void OnEnter()
{
AddUseItemCallback{"", "kluczdodrzwi_1", "drzwi", "UsedKeyOnDoor", bool abAutoDestroy};
}

void MyFunc(string &in asItem, string &in asEntity)
{
SetSwingDoorLocked("drzwi", false, true);
PlaySoundAtEntity("", "unlock_door", "drzwi", 0, false);
RemoveItem("kluczdodrzwi_1");
}




I hope someone can help.
(Sorry for bad english im polish)
(This post was last modified: 04-14-2013, 03:28 PM by TheKaci1234.)
04-14-2013, 03:27 PM
Find


Messages In This Thread
Fatal error could not load script file - by TheKaci1234 - 04-14-2013, 03:27 PM



Users browsing this thread: 1 Guest(s)