![]() |
Question
temp.pIds = getnearestplayers(this.x, this.y, player.hp > 0);
does getnearestplayers grab a players community name as well. Because it seems like every time a Graal##### account enters the level they stop working, like there confused? |
Use findnearestplayers instead.
PHP Code:
|
ahh thank you it worked.
|
2 Attachment(s)
Well I thought it worked lol. It works better then before, now it grabs the player that's the furthest from the NPC.
Snapshots are attached |
Quote:
|
Quote:
|
Use PHP tags for code.
PHP Code:
PHP Code:
|
Thank you so much Jerret and Chris it works like a charm.
REP + REP but unfortunately I can only do 1 every 24 hours. :( |
| All times are GMT +2. The time now is 07:02 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.