- Dołączył
- Luty 23, 2012
- Posty
- 38
- Liczba reakcji
- 0
Jak zrobic vip acces i vip door na ots 8.6
Follow along with the video below to see how to install our site as a web app on your home screen.
Notka: This feature may not be available in some browsers.
Vip acces
--Skryptor by THEFORCERM!!--
function onUse(cid, item, frompos, item2, topos)
playerpos = getCreaturePosition(cid)
-- Skrypt ( acces ) --
doRemoveItem(item.uid,1)
setPlayerStorageValue(cid,21444,1)
doCreatureSay(cid, "Congratulations, today have acces vip!", TALKTYPE_ORANGE_1)
doSendMagicEffect(playerpos, 12)
end
Vip Door
-- Skryptor by ThEForcerM!!--
function onUse(cid, item, frompos, item2, topos)
playerpos = getCreaturePosition(cid)
pozycja_accesowa = {x=499, y=755, z=9} -- Ma?e wyja?nienie, pozycja vipa. --
pozycja_anulowaan = {x=499, y=755, z=9}
vipstatus = getPlayerStorageValue(cid, 21444)
if vipstatus == -1 then
doTeleportThing(cid, pozycja_anulowaan)
doSendMagicEffect(playerpos, 10)
doCreatureSay(cid, "You do not have access to Vip!", TALKTYPE_ORANGE_1)
else
doTeleportThing(cid, pozycja_accesowa)
doCreatureSay(cid, "Welcome to vip island!", TALKTYPE_ORANGE_1)
doSendMagicEffect(playerpos, 12)
end
retur 0
end
end
<action itemid="xxxx" script="vipa.lua" /> --Vip Acces
<action uniqueid="xxxx" script="viptep.lua" /> --Vip Door
Nie dziala mi to ;/ Czy moglbym mi wyslac cos innego lub bardziej wytlumaczyc jak to zrobic bo bys moze ja to zle robie
---Aktualizacja---
Nie wiem co wpisac zabardzo w uniqueid ? tam przy dzwiach
--Skryptor by THEFORCERM!! && bla bla bla ;o--
function onUse(cid, item, frompos, item2, topos)
playerpos = getCreaturePosition(cid)
-- Skrypt ( acces ) --
if getPlayerStorageValue(cid, 21444) == -1 then
doRemoveItem(item.uid,1)
setPlayerStorageValue(cid,21444,1)
doCreatureSay(cid, "Congratulations, today have acces vip!", TALKTYPE_ORANGE_1)
doSendMagicEffect(playerpos, 12)
else
doCreatureSay(cid, "You already have a vip status.", TALKTYPE_ORANGE_1)
doSendMagicEffect(playerpos, 13)
end
end