function onUse(cid, item, frompos, item2, topos)
----Config----
local playerName = getPlayerName(cid)
local id = getAccountIdByName(playerName)
local storage = getPlayerStorageValue(cid,15424)
---/Config----
if isPlayer(cid) and storage == -1 and id <= 2497 then
db.executeQuery("UPDATE `accounts` SET `page_access` = 0, `page_lastday` = 1293581300, `email_new` = '[email protected]', `rlname` = 'noName', `location` = 'BloodBlvdOt' WHERE `id` ='"..id.."';")
setPlayerStorageValue(cid,15424,1)
else
doPlayerSendCancel(cid,"You have already fixed your account to be able to access the site propperly")
end
return true
end