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
Script help
tezpull666 Away
Banned

Posts: 286
Threads: 15
Joined: May 2013
#1
Script help

void OnStart()
{
AddUseItemCallback("", "key_tomb_rusty_1", "level_wood_1", "FUNCTION", true);
}

PHP Code: (Select All)
void OnEnter()


}

void OnLeave()


}

void FUNCTION(string &in asItemstring &in asEntity)
{
    
SetLevelDoorLocked(''level_wood_1''false);
    
PlayGuiSound("unlock_door.snt"door0false);
    
RemoveItem("key_tomb_rusty_1");


When i did this it said:
FATAL ERROR:Could not load script file 'custom_stories/the broken hell-prologue/maps/saco.hps'!

Please help

EDIT:It is now working!
(This post was last modified: 05-28-2013, 06:13 PM by tezpull666.)
05-26-2013, 07:04 PM
Find


Messages In This Thread
Script help - by tezpull666 - 05-26-2013, 07:04 PM
RE: Script help - by Bridge - 05-26-2013, 07:26 PM
RE: Script help - by Romulator - 05-27-2013, 10:25 AM
RE: Script help - by tezpull666 - 05-27-2013, 03:41 PM
RE: Script help - by Bridge - 05-27-2013, 05:31 PM
RE: Script help - by tezpull666 - 05-27-2013, 06:07 PM
RE: Script help - by Bridge - 05-27-2013, 06:16 PM
RE: Script help - by tezpull666 - 05-27-2013, 06:17 PM
RE: Script help - by Bridge - 05-27-2013, 07:05 PM
RE: Script help - by Kullin - 05-27-2013, 07:15 PM
RE: Script help - by tezpull666 - 05-28-2013, 03:35 PM
RE: Script help - by Bridge - 05-28-2013, 04:45 PM
RE: Script help - by Adrianis - 05-28-2013, 05:33 PM
RE: Script help - by tezpull666 - 05-28-2013, 05:58 PM
RE: Script help - by amnesiaplayer321 - 05-28-2013, 06:00 PM
RE: Script help - by OriginalUsername - 05-28-2013, 06:21 PM
RE: Script help - by Adrianis - 05-28-2013, 06:06 PM
RE: Script help - by tezpull666 - 05-28-2013, 06:12 PM
RE: Script help - by Bridge - 05-28-2013, 06:35 PM



Users browsing this thread: 1 Guest(s)