tibiamaniak
New Member
- Joined
- Aug 15, 2020
- Messages
- 18
- Reaction score
- 3
hi i have problem with xp boost ingame store
i can buy only 1 xp boost per 12h not more if i reset server cost xp boost dont restart to 30 tc
code:
elseif offer.type == GameStore.OfferTypes.OFFER_TYPE_EXPBOOST then
if self:getStorageValue(51052) == 6 then
disabled = 1
disabledReason = "You can't buy XP Boost for today."
end
if (os.time() - self:getStorageValue(51053) < 86400) then
disabled = 1
disabledReason = "You already have an active XP boost."
end
help me?
i can buy only 1 xp boost per 12h not more if i reset server cost xp boost dont restart to 30 tc
code:
elseif offer.type == GameStore.OfferTypes.OFFER_TYPE_EXPBOOST then
if self:getStorageValue(51052) == 6 then
disabled = 1
disabledReason = "You can't buy XP Boost for today."
end
if (os.time() - self:getStorageValue(51053) < 86400) then
disabled = 1
disabledReason = "You already have an active XP boost."
end
help me?