felipedorgas
New Member
- Joined
- Aug 10, 2010
- Messages
- 34
- Reaction score
- 1
hello guys
i need help in this script,
is version 8.54-8.57
i have a good system for vip account (all characters win vip)
and this system have a script, what leads the player to a town free when end vip:
I need, what ends vip, the promotion vip down of 2 to 1 !
If you do not understand if I explain better... :thumbup:
thx
i need help in this script,
is version 8.54-8.57
i have a good system for vip account (all characters win vip)
and this system have a script, what leads the player to a town free when end vip:
Code:
function onLogin(cid)
if getVipTime(cid) > 0 and isVip(cid) == FALSE then
local townid = 1
doPlayerSetTown(cid, townid)
local templePos = getTownTemplePosition(getPlayerTown(cid))
doTeleportThing(cid, templePos, false)
setVipTime(cid, 0)
doTeleportPlayers(cid, templePos)
doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "You vip ends!")
else
local duration = getVipDate(cid)
doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "You has "..getVipDays(cid).." day(s) of vip."..(duration and (" It will last until "..duration..".") or ""))
end
return TRUE
end
I need, what ends vip, the promotion vip down of 2 to 1 !
If you do not understand if I explain better... :thumbup:
thx