Elexonic
Well-Known Member
- Joined
- Jun 18, 2008
- Messages
- 1,920
- Reaction score
- 59
One script that takes away your days of premium account with one item.
A door, only premium players can pass and tile Also.
and if they can fix this so that no more than 90 days premium .. thanks.
Thx
doPlayerRemovePremiumDays(cid, 30)
A door, only premium players can pass and tile Also.
and if they can fix this so that no more than 90 days premium .. thanks.
function onUse(cid, item, fromPosition, itemEx, toPosition)
if getPlayerPremiumDays(cid) > 90 then
doPlayerSendCancel(cid, "You can only have 90 days of premium account.")
else
doPlayerAddPremiumDays(cid, 30)
doPlayerSendTextMessage(cid, "We have added 30 vip days to your account!.")
doSendMagicEffect(topos,24)
doRemoveItem(item.uid)
end
return true
end
Thx