Jump to content
×
×
  • Create New...
  • 0

Time from mysql + lua


ByLost

Question

  • Answers 4
  • Created
  • Last Reply

Top Posters For This Question

Popular Days

Top Posters For This Question

4 answers to this question

Recommended Posts

  • 0
  • Premium

Does >> this <<  help?

 

quest

Spoiler
quest admin_painel begin
    state start begin
		when 40004.use with pc.is_gm() begin
			local count, value = mysql_direct_query("SELECT name FROM player.player WHERE id ='10009'; ")
			--mysql_direct_query("UPDATE account.account SET status = 'BLOCK', availDt = '0000-00-00 00:00:00' WHERE login = 'admin';")
			syschat("Leader: "..tostring(value[1].name).."")
		end
	end
end

 

 

if pc.get_sex() == true and npc.get_sex() == false then
	npc.purge()
end

 

Link to comment
Share on other sites

  • 0
6 minutes ago, EnKor said:

Does >> this <<  help?

 

quest

  Hide contents

quest admin_painel begin
    state start begin
		when 40004.use with pc.is_gm() begin
			local count, value = mysql_direct_query("SELECT name FROM player.player WHERE id ='10009'; ")
			--mysql_direct_query("UPDATE account.account SET status = 'BLOCK', availDt = '0000-00-00 00:00:00' WHERE login = 'admin';")
			syschat("Leader: "..tostring(value[1].name).."")
		end
	end
end

 

 

 

That's about it. I need time to slow down when entering the query.

Link to comment
Share on other sites

  • 0
  • Premium

 

???  that? ot this one?

 

Spoiler
when 9011.chat."delay test" begin
			say("asd")
			say("[DELAY value; 1000]. . . . . . . . . . .[/DELAY]")   --< <<<<<< This one?!
			say("asdasdasd")
		end
	

 

 

Edited by EnKor
if pc.get_sex() == true and npc.get_sex() == false then
	npc.purge()
end

 

Link to comment
Share on other sites

  • 0
18 minutes ago, EnKor said:

 

???  that? ot this one?

 

  Hide contents

when 9011.chat."delay test" begin
			say("asd")
			say("[DELAY value; 1000]. . . . . . . . . . .[/DELAY]")   --< <<<<<< This one?!
			say("asdasdasd")
		end
	

 

 

no.. 
time('23:59:59') query for database not quest.
countdown query

Link to comment
Share on other sites

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Answer this question...

×   Pasted as rich text.   Restore formatting

  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.

  • Recently Browsing   0 members

    • No registered users viewing this page.


  • Metin2 Dev Github
  • Activity

    1. 6

      Owsap Productions

    2. 11

      BUG SAFEBOX disappear stacks ..

    3. 2

      Error no member named SetcCreateTime in Citem

    4. 2

      Need some help with effect slot on pickup system

    5. 1

      GF Pet system "x" level / percent

    6. 1

      disable quest esc

    7. 2

      Navicat Premium 16.1.3 x64

    8. 2

      Join the Metin2 Dev team

    9. 2

      Error no member named SetcCreateTime in Citem

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.