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
GetEntityExists not work for Player
Rapture Offline
Posting Freak

Posts: 1,078
Threads: 79
Joined: May 2011
Reputation: 30
#1
GetEntityExists not work for Player

Is their any way to get it to recogonize a player?

Quote: if (GetEntitiesCollide("Player", "DeepWaterAbove") == true)
{
DrownCounterNumber = 0;
}
else
{
DrownCounterNumber++;
}
I have a timer setting off every 0.25 seconds. But it always returns as false. But if I change Player to a armchair entity name (that I placed down) the function will be true and set the number back to 0. Why does it not work/support for Player?
08-16-2011, 04:27 AM
Find


Messages In This Thread
GetEntityExists not work for Player - by Rapture - 08-16-2011, 04:27 AM
RE: GetEntityExists not work for Player - by Kyle - 08-16-2011, 01:23 PM



Users browsing this thread: 1 Guest(s)