![]() |
findplayer issue
Why in the world is findplayer returning me an RC? that shouldn't be allowed -_-
|
Quote:
How are you sure it's an RC? |
Yea, a little bit of code / variable output would be beneficial.
|
Quote:
PHP Code:
|
The ''players' array only draws from the players in the current level, so you can use that for referencing. It won't get an RC.
PHP Code:
|
It is possible that findplayer clientside acts different from findplayer serverside (I am assuming that the script is clientside, since you are setting focus).
If that is the case, then it looks like Yen provides a good alternative. |
On clientside findplayer returns all possible players from the player list, so also 'virtual' players like people on other servers, or irc channels. May be you can check for the level of the player to check if its an actual player walking around somewhere.
|
Quote:
|
Maybe the client should return normal players in priority over virtual players?
|
Yes that would make sense
|
| All times are GMT +2. The time now is 10:43 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.