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 ?

 

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.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...