Hi,
I have two questions ^^
I need a crontab for empty this table :
I need crontab for So that I can automatically emptied.
And second question :
It's possible change this quest :
quest bo_is begin
state start begin
function give_bonus_cash(account, count)
mysql_query("UPDATE account.account SET cash=cash+'"..count.."' WHERE id='"..account.."'")
syschat("Vous recevez "..count.." marques.")
end
when 80014.use or 80015.use or 80016.use or 80017.use begin
local tableByVnum =
{
[80014] = 100,
[80015] = 500,
[80016] = 1000,
}
bourse_is.give_bonus_cash(pc.get_account_id(), tableByVnum[item.get_vnum()])
pc.remove_item(item.get_vnum(), 1)
end
end
end
For change the mysql_querry ?
I need this quest, but not use mysql_query. It's possible ?
Thanks ^^