Jump to content

Question with quest.


Recommended Posts

Hello everybody,

 

I have achievements quest. But i create table in navicat for regist all my kills and achievements points.

 

But i have 1 problem.

 

When i kill a monster at first time i want to show achievement windows like that:

 

CbHTc.jpg

 

 

But when i kill them at second time i dont want too show this windows, how i can do that?

What function i must use?

 

Thanks for spend you time and sorry for my bad english.

Edited by Metin2 Dev
Core X - External 2 Internal
Link to comment
Share on other sites

  • Replies 9
  • Created
  • Last Reply

Top Posters In This Topic

Can you post quest?

 

when 691.kill begin
local valor = 120
local valormob = 1
local mobdb = 'Chefe_Orc'
local Achievementa = "Chefe_Orc"
local total = 'Pontos_Conquista'
local pont = mysql_query(########)
local actual_achievement_points = pont.Pontos_Conquista[1]
mysql_query("######")
mysql_query(#########)
cmdchat("achievement" #########)
 
Were "#########" is directory in mysql to at achievement table.
Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.