enriel
Big L
How does VIP system work? Something like, you buy 10 days VIP and you can acces VIP towns etc, where to get this script?
Like: VIP with Premiums
Last edited:
How does VIP system work? Something like, you buy 10 days VIP and you can acces VIP towns etc, where to get this script?Like: VIP with Premiums
function onUse(cid, item, frompos, item2, topos)
doSendAnimatedText(getPlayerPosition(cid), "Welcome!", TEXTCOLOR_RED)
doCreatureSay(cid, "CONGRATULATIONS! You are now a VIP! You can now enter the VIP-area and use unique features!. ", TALKTYPE_ORANGE_1)
setPlayerStorageValue(cid, 11551, 1)
doRemoveItem(item.uid, 1)
return TRUE
end
function onUse(cid, item, frompos, item2, topos)
if item.uid == 11551 then -- This number you will imput into map editor for the door you wish
queststatus = getPlayerStorageValue(cid,11551) -- Quest number that needs to be COMPLETE.
area = {x=2283, y=833, z=6} -- If that above quest is complete, It will teleport you here.
if queststatus == -1 then
doCreatureSay(cid, "Sorry, but only VIP Players can pass here! Buy VIP on the WEB!. ", TALKTYPE_ORANGE_1)
else
doTeleportThing(cid, area,0)
doSendMagicEffect(topos, 12)
doCreatureSay(cid, "Hiho VIP Player!", TALKTYPE_ORANGE_1)
end
end
return 1
end