- 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 itemi yok edip karsiliginda hesabina")
- say_reward("50 EP yuklenmesini ister misin?")
- local isim = pc.get_name()
- local s = select("Evet","Hayir")
- if s == 1 then
- say("Peki Epin hesabina yuklendi")
- 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