I want to make when player die, and when he press "to vilage" he teleport to mine desired spot. I use l2j.server but in config I dont found "spawn after death" then it must be in java :
But when i change in java MapRegionTable this : it nothink happens, help :)
Thank you guys.
NEWS
Our on-site dashboard is now live! Users can register for a customer account at https://www.nimeracp.com/sign-up.
NimeraCP will become available for purchase once development is complete and it’s listed in the Customer Dashboard.
We’ve also added pricing details to the official post on top and on our website: https://www.nimeracp.com/pricing.
Development on NimeraCP is progressing steadily. I’ll carve out some time this weekend to update the documentation so you can explore NimeraCP’s features in more detail.
That funny many here download but no one would like to share back its such a selfish behavior of people in 2020s
That why games die because of people who are later reselling thigs what people almost forgot or no have access to.
Question
bembis
I want to make when player die, and when he press "to vilage" he teleport to mine desired spot. I use l2j.server but in config I dont found "spawn after death" then it must be in java :
But when i change in java MapRegionTable this : it nothink happens, help :)
// Checking if in an instance
if (player.getInstanceId() > 0)
{
Instance inst = InstanceManager.getInstance().getInstance(player.getInstanceId());
if (inst != null)
{
coord = inst.getSpawnLoc();
if (coord[0] != 0 && coord[1] != 0 && coord[2] != 0)
return new Location(82752 + Rnd.get( -100,100), 53583 + Rnd.get( -100,100), -1499);
3 answers to this question
Recommended Posts