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
PlayerLookAtEntiy error?
X4anco Offline
Member

Posts: 157
Threads: 66
Joined: Apr 2011
Reputation: 0
#1
PlayerLookAtEntiy error?

Hellos people N00B here:
SetEntityPlayerLookAtCallback("sofa_2", "scare1", true);
void scare1(string &in entity, int alState)
{
    PlayGuiSound("react/react_scare6.ogg", 1);
    GiveSanityDamage(20, true);
}

I'm trying to make the player react when he looks at something
but nothing happens Sad

Thx

...
05-12-2011, 07:27 PM
Find


Messages In This Thread
PlayerLookAtEntiy error? - by X4anco - 05-12-2011, 07:27 PM
RE: PlayerLookAtEntiy error? - by Khyrpa - 05-12-2011, 07:43 PM
RE: PlayerLookAtEntiy error? - by Acies - 05-12-2011, 08:00 PM



Users browsing this thread: 1 Guest(s)