Jump to content
  • 0

[request] Event + Pvp reward


Question

Posted

Hi MaX 8)

im using H5 and i m looking for away to make event`s in the server like tvt ,Dm ,Ctf ,Lms and other event

and put it in 1 Npc to register + put the event reward 

2nd i need to put pvp reward

4 answers to this question

Recommended Posts

  • 0
Posted

Use a simple script to registrer the players (like a QuestState). Depending of the event use one or two registration metod (st1 & st2 for example for two teams), and depending of how ends your event, use...

 

Collection<L2PcInstance> pls = L2World.getInstance().getAllPlayers().values();

for (L2PcInstance player : pls)

 

...to find all the players registred. Also you must write the "winner conditions" under.

  • 0
Posted

Collection<L2PcInstance> pls = L2World.getInstance().getAllPlayers().values();

for (L2PcInstance player : pls)

the events need to have the players in any list, so you can do anything like

for (L2PcInstance player : _team1)

or

for (L2PcInstance player : _team2)

on the function that use each event to end

 

  • 0
Posted

ok i did not understand any thing cuz im nooby in this thing so i will fix it in othere time

but i need to know how to make pvp reward

like when i pvp with some1 and i kill him i get reward ?

 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock