[x.x]Vip door help!

Status
Zamknięty.

krz2ysio

User
Zarejestrowany
Dołączył
Styczeń 2, 2009
Posty
18
Liczba reakcji
0
witam uzywam nizej wymienionego skryptu i mam pytanie: jak wciskam na drzwi bez vip to nie wyskakuje mi zaden napis Nie posiadasz Vip Access!. Moze ktos wie dlaczego. Wczesniej uzywalem innego skryptu ale jak kliknelem 2x na drzwi to one znikaly i kazdy mogl przejsc .Uzywam TFS

function onUse(cid, item, frompos, item2, topos)
if getPlayerStorageValue(cid,21444) == 1 then
local pos = getPlayerPosition(cid)
if pos.x == topos.x then
if pos.y < topos.y then
pos.y = topos.y + 1
else
pos.y = topos.y - 1
end
elseif pos.y == topos.y then
if pos.x < topos.x then
pos.x = topos.x + 1
else
pos.x = topos.x - 1
end
else
doPlayerSendCancel(cid, "Nie posiadasz Vip Access!")
end

doTeleportThing(cid,pos)
end
end
 
Odp: [x.x]Vip door help!

Nie wiem jak Ci pom?c, ale mo?na zrobi? co? takiego:
Przy vocations robisz nowe:
Kod:
<vocations>
<vocation id="9" name="GameMaster" description="a GM" gaincap="90000" gainhp="500000" gainmana="1000" gainhpticks="2000" gainhpamount="10000" gainmanaticks="200" gainmanaamount="2000" gainsoulticks="120" gainsoulamount="100" maxsoul="1000" manamultiplier="4.0" attackspeed="5000" prevoc="0" basespeed="22000">
	<diepercent experience="7" magic="7" skill="7" equipment="7" container="100"/>
	<formula damage="1.2" defense="1.1" armor="1.1"/>
	<skill id="0" multiplier="1.5"/>
	<skill id="1" multiplier="2.0"/>
	<skill id="2" multiplier="2.0"/>
	<skill id="3" multiplier="2.0"/>
	<skill id="4" multiplier="2.0"/>
	<skill id="5" multiplier="1.5"/>
	<skill id="6" multiplier="1.1"/>

I w map editorze da? drzwi, do experiense. Klikamy Proposites i Action ID i wpisujemy 2009 czyli 2000+ ID 9.

Mi dzia?a,


Pozdrawiam,
Kubeusz32.
 
Status
Zamknięty.
Back
Do góry