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 fail
klacke Offline
Junior Member

Posts: 7
Threads: 4
Joined: May 2011
Reputation: 0
#1
script fail

Hello, i got a help with a script, but when i tries to load my custom it just ends up with an error,

Here is the script

void MakePrisonerDisapear_1(string &in asParent, string &in asChild, int alState)
{
SetPlayerActive(false);
PlaySoundAtEntity("", "leather_walk.snt", "prisoner", 0.0f, false);
PlaySoundAtEntity("", "react_scare.snt", "Player", 0.0f, false);
StartPlayerLookAt("LookAtPrisoner", 5.0f, 5.0f, "");
Addtimer("", 1.0f, "MakePrisonerDisappear_2");
}
void MakePrisonerDisappear_2(string &in asTimer);
{
GiveSanityDamage(5, true);
SetEntityActive("prisoner", false);
SetPlayerActive(true);

Do you see anything wrong with it?
Plz reply with a fix it would be awesome! Big Grin
06-05-2011, 12:58 PM
Find


Messages In This Thread
script fail - by klacke - 06-05-2011, 12:58 PM
RE: script fail - by Apjjm - 06-05-2011, 01:16 PM
RE: script fail - by Kyle - 06-05-2011, 01:16 PM
RE: script fail - by klacke - 06-05-2011, 02:24 PM
RE: script fail - by ferryadams10 - 06-08-2011, 01:21 PM



Users browsing this thread: 2 Guest(s)