Forkz
Well-Known Member
- Joined
- Jun 29, 2020
- Messages
- 380
- Solutions
- 1
- Reaction score
- 89
Hi otlanders,
Lua:
if not isPremium(cid) then
doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, config.notpremium)
if getPlayerStorageValue(cid,55555) == 1 then
doTeleportThing(cid, config.temple)
doPlayerSendTextMessage(cid, 22, "Your premium account has expired!")
setPlayerStorageValue(cid, 55555, 0)
end
else
if getPlayerStorageValue(cid,55555) ~= 1 then
setPlayerStorageValue(cid,55555,1)
end
doPlayerSetExperienceRate(cid, 1.15)
doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, config.premium)
doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_RED, "Your premium account ends day "..os.date("%d %B %Y as %X.",getPlayerPremiumDays(cid)))
end