- Discord
- pvpers.gg
Metin2 PvP Serverınıza EP kuponu ekleyebilirsiniz.
EP sayısını değiştirebilirsiniz.
EP sayısını değiştirebilirsiniz.
Kod:
quest elliep begin
state start begin
when 50130.use begin
local DB_KULLANICI = "root"
local DB_SIFRE = "NAVICATSIFRE"
local EPSAYISI = 50
local ID = pc . get_account_id ( )
local g = mysql_query ( "SELECT coins FROM account.account, player.player where account.id = player.account_id and player.name = \'" .. pc . get_name ( ) .. "\'" )
say_title("Ep Bozdurma:")
say_reward("Bu EP kuponunu kullanarak hesabına")
say_reward("50 EP yüklenmesini ister misin?")
local isim = pc.get_name()
local s = select("EVET","HAYIR")
if s == 1 then
say("Tamam, EP hesabınıza yüklendi.")
wait()
pc.remove_item(50130)
local ISLEM = "UPDATE account.account SET coins = coins + " .. EPSAYISI .. " WHERE id = " .. ID .. ";"
os.execute ( "mysql --host=SERVERIP --user=" .. DB_KULLANICI .. " --password=" .. DB_SIFRE .. " --execute='" .. ISLEM .. "'" )
elseif s == 2 then
end
end
end
end