![]() |
tesplayer()
Well, I'm testing for players serverside and testplayers just returns -2, and by accident I put testplayers() and it returned properly but I got the error "Function testplayers not found at line 191", now how can it return something if it doesnt exist?
|
Quote:
|
I echoed this and it was NULL
PHP Code:
PHP Code:
( I had both logged on, close together, this is in a loop, I'm using findnearestplayers now btw) |
Are you testing it in a pk zone? I haven't tried to use this in a while, but I remember testplayer() only working in pk zones.
If you want to find a player in a non-pk zone, you need to use findNearestPlayers(). |
Quote:
|
Quote:
|
Quote:
|
testplayers only returns players that are blocking as I remember so it's useless in nopk zones
|
| All times are GMT +2. The time now is 12:17 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.