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 anyone fix this for me, please?
Melvin Offline
Member

Posts: 245
Threads: 38
Joined: Jun 2012
Reputation: 5
#1
Can anyone fix this for me, please?

It says I did something wrong at void ArmScare(string &in asEntity, int 1)
I can't figure out what's wrong, can anyone fix this?


////////////////////////////
// Run first time starting map
void OnStart()
{
PreloadSound("whatthehell.snt");
AddEntityCollideCallback("Player", "StairArea", "Sound", true, 1);
SetEntityPlayerLookAtCallback(string& MonsterArm, string& ArmScare, bool false);
}

void ArmScare(string &in asEntity, int 1)
{
PlaySoundAtEntity("", "react_scare", "Player", 0, false);
GiveSanityDamage(8.0f, true);
}


void Sound(string &in asParent, string &in asChild, int alState)
{
PlaySoundAtEntity("sound", "whatthehell.snt", "StairArea", 0.0, false);
}

[Image: 25F7U37.png]
08-07-2012, 08:39 PM
Website Find


Messages In This Thread
Can anyone fix this for me, please? - by Melvin - 08-07-2012, 08:39 PM
RE: Can anyone fix this for me, please? - by Adny - 08-07-2012, 08:43 PM



Users browsing this thread: 1 Guest(s)