Ogłoszenie

Reaktywacja forum? Tak! Chcesz pomóc? GG: 12515953.

#1 2009-09-21 19:42:17

Fexar

http://tnij.org/ek3p

Zarejestrowany: 2009-09-20
Posty: 15
Punktów :   

Transformation Boots

Gdy założysz te buty zmienia sie outit twój na np. outfit demona

Wchodzimy w data,Movments,Scripts i robimy plik o nazwie transboots.lua a w nim:

local storage = 1800
local tran = 5080
function onEquip(cid, item, slot)
setPlayerStorageValue(cid, storage, getCreatureOutfit(cid).lookType)
setPlayerStorageValue(cid, storage+1, getCreatureOutfit(cid).lookHead)
setPlayerStorageValue(cid, storage+2, getCreatureOutfit(cid).lookBody)
setPlayerStorageValue(cid, storage+3, getCreatureOutfit(cid).lookLegs)
setPlayerStorageValue(cid, storage+4, getCreatureOutfit(cid).lookFeet)
setPlayerStorageValue(cid, storage+5, getCreatureOutfit(cid).lookAddons)
doSetItemOutfit(cid, tran, 300000)
end
function onDeEquip(cid, item, slot)
standardoutfit = { lookType = getPlayerStorageValue(cid, storage), lookHead = getPlayerStorageValue(cid, storage+1), lookBody = getPlayerStorageValue(cid, storage+2), lookLegs = getPlayerStorageValue(cid, storage+3), lookFeet = getPlayerStorageValue(cid, storage+4), lookAddons = getPlayerStorageValue(cid, storage+5) }
doSetCreatureOutfit(cid, standardoutfit, 1)
end

Tyle

Offline

 

Stopka forum

RSS
Powered by PunBB
© Copyright 2002–2008 PunBB
Polityka cookies - Wersja Lo-Fi


Darmowe Forum | Ciekawe Fora | Darmowe Fora
studio kopiowania ślask perlenoire