Jump to content

Time from mysql + lua


Recommended Posts

  • Replies 4
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

  • 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

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

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

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



  • Similar Content

  • Activity

    1. 60

      Inbuild GR2 Animation

    2. 2

      wait() function bug

    3. 0

      Remove Party Role Bonuses

    4. 1

      Fix CBar3D

    5. 2

      set_quest_state not working

  • Recently Browsing

    • No registered users viewing this page.
×
×
  • 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.