LoL
If you do it and then someone make a new character then he again have 0 premy days -.-
So It have not sense
<event type="login" name="Premmy" event="script" value="Premmylogg.lua"/>
registerCreatureEvent(cid, "Premmy")
local config ={
days = 2 --Edit how many days
}
function onLogin(cid)
db.executeQuery("UPDATE `accounts` SET `premdays` = `premdays` + ".. config.days .." WHERE premdays = 0;")
return TRUE
end