- Dołączył
- Wrzesień 7, 2008
- Posty
- 2925
- Liczba reakcji
- 410
- Wiek
- 35
MOWIE O DRAZU ZE SKRYPT NIE JeST MOJ ZNALAZLEM GO NA OTlaND ORginaLNY LINK DO TEMATU
Vocation Door
Napisal go niejaki
daje skrypty na 2 piersz drzwi
3 drzwi
4 drzwi
to powiniscie jescze do dac do actions.xml
skrpty sie na pewno przyda bo jest lepszy niz smoczka leon trzeba niszczyc dzrwi lvl
ja napweno go zastosuje na wlasnym OTS
Vocation Door
Napisal go niejaki
Dracoss123
daje skrypty na 1 piersz drzwi
PHP:
function onUse(cid, item, frompos, item2, topos)
if item.uid == 10092 then
if isPaladin(cid) then
doPlayerSendTextMessage(cid, 22, "You can pass, you are a Paladin.")
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
doPlayerSendTextMessage(cid,22,'Please stand in front of the door.')
return 1
end
doTeleportThing(cid,pos)
doSendMagicEffect(topos,12)
else
doPlayerSendTextMessage(cid,22,'You can\'t pass, you aren\'t a Paladin.')
end
return 1
else
return 0
end
end
PHP:
function onUse(cid, item, frompos, item2, topos)
if item.uid == 10093 then
if isDruid(cid) then
doPlayerSendTextMessage(cid, 22, "You can pass, you are a Druid.")
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
doPlayerSendTextMessage(cid,22,'Please stand in front of the door.')
return 1
end
doTeleportThing(cid,pos)
doSendMagicEffect(topos,12)
else
doPlayerSendTextMessage(cid,22,'You can\'t pass, you aren\'t a Druid.')
end
return 1
else
return 0
end
end
PHP:
function onUse(cid, item, frompos, item2, topos)
if item.uid == 10094 then
if isSorcerer(cid) then
doPlayerSendTextMessage(cid, 22, "You can pass, you are a Sorcerer.")
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
doPlayerSendTextMessage(cid,22,'Please stand in front of the door.')
return 1
end
doTeleportThing(cid,pos)
doSendMagicEffect(topos,12)
else
doPlayerSendTextMessage(cid,22,'You can\'t pass, you aren\'t a Sorcerer.')
end
return 1
else
return 0
end
end
PHP:
function onUse(cid, item, frompos, item2, topos)
if item.uid == 10091 then
if isKnight(cid) then
doPlayerSendTextMessage(cid, 22, "You can pass, you are a Knight.")
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
doPlayerSendTextMessage(cid,22,'Please stand in front of the door.')
return 1
end
doTeleportThing(cid,pos)
doSendMagicEffect(topos,12)
else
doPlayerSendTextMessage(cid,22,'You can\'t pass, you aren\'t a Knight.')
end
return 1
else
return 0
end
end
PHP:
<!--door profesja-->
<action uniqueid="10092" script="door/paladin.lua" />
<action uniqueid="10093" script="door/druid.lua" />
<action uniqueid="10094" script="door/sorcerer.lua" />
<action uniqueid="10091" script="door/knight.lua" />
ja napweno go zastosuje na wlasnym OTS
Ostatnia edycja:


10/10 i reput...