![]() |
Resolved: for (pl: allplayers) { Problem?
1 Attachment(s)
NPC Code: Rc gives no errors and when using that with my GUI, it lists 20 objects (See Attached Picture) 1 of which is a player (myself, im the only player on) 1 of which is the Npc server (thats not a player!) and the other 18 are IRC channels T.T But using NPC Code: Works just fine, only lists real players (just me at the time); Server : Soakath Weapon : H/Test Sorry if this is a known bug Am I just using it wrong? |
allplayers[] are all players, including virtual players (channels, chatters, players from other servers), basicly everything you see on the playerlist, you have flags like player.ischannel, player.isexternal
players[] is the list of players in the current level, which are max 1 map part away from you (on gmap) |
Quote:
|
I typed that for here, on the server it says allplayerscount
Thats not what I was asking if I was using wrong, that part of the NPC works fine I was talking about i=0; for (pl: allplayers) {addtext(@pl,i);i++;} |
pl is predefined as the current player.
Change it to 'p' or something, I'm pretty sure that's the problem. |
Quote:
|
Quote:
If I have to warn you again, you are not going to like the outcome. |
| All times are GMT +2. The time now is 02:28 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.