You can post now and register later.
If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.
DISCORD :
https://discord.com/users/325653525793210378
utchiha_market
telegram :
https://t.me/utchiha_market
SELLIX STORE :
https://utchihamkt.mysellix.io/
Join our server for more products :
https://discord.gg/uthciha-services
https://campsite.bio/utchihaamkt
Question
UnixCode
Ok hello all, i have made an npc instance showing top online players for example[top 10].
So for example i want those 10 or the frist 4 of them for example to make them setHero(true); //example.
But how will i store these 4 or 10 to an l2pcinstance object? for example if i wanted for the whole players online it would be:
for(L2PcInstance p:L2World.getInstance().getAllPlayers())
p.setHero(true);
So, how will i do this ? :/
7 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.