hello i've making my server but got a problem
i got my vip scroll and it works but only for 1 sqm and never ran out.
these are my sqms from VIP Only
It seems to be a switch.
ItemID: [446], ActionID: [13500].
Position: [X: 32310] [Y: 32214] [Z: 6].
It seems to be a switch.
ItemID: [446], ActionID: [13540].
Position: [X: 32311] [Y: 32214] [Z: 6].
and i've been did a scroll like this...
and want a script it works for both sqm, also it ran out after 1 day, and get teleport thais temple after it ran out
At this Position: X: 32369 Y: 32241 Z: 7.
could somebody help me whit this please?
i got my vip scroll and it works but only for 1 sqm and never ran out.
these are my sqms from VIP Only
It seems to be a switch.
ItemID: [446], ActionID: [13500].
Position: [X: 32310] [Y: 32214] [Z: 6].
It seems to be a switch.
ItemID: [446], ActionID: [13540].
Position: [X: 32311] [Y: 32214] [Z: 6].
and i've been did a scroll like this...
Lua:
local storage = 13500,13540
function onUse(cid, item, fromPosition, itemEx, toPosition)
if getPlayerStorageValue(cid,storage) < 1 then
if getPlayerLevel(cid) > 1 then
getPlayerStorageValue(cid, storage)
doSendAnimatedText(getPlayerPosition(cid), "Enjoy", TEXTCOLOR_RED)
doCreatureSay(cid, "CONGRATULATIONS! You are now a VIP for 1 days! You can now enter the VIP-area and use unique features!. ", TALKTYPE_ORANGE_1)
setPlayerStorageValue(cid, storage, (getPlayerStorageValue(cid,storage) + 1))
doRemoveItem(item.uid, 1)
else
doPlayerSendCancel(cid,"You need to be at least level 2 to use this.")
doRemoveItem(item.uid, 1)
end
else
doPlayerSendCancel(cid,"You are already a donator.")
end
return TRUE
end
and want a script it works for both sqm, also it ran out after 1 day, and get teleport thais temple after it ran out
At this Position: X: 32369 Y: 32241 Z: 7.
could somebody help me whit this please?