aerd3
Advanced User
- Joined
- Apr 9, 2010
- Messages
- 280
- Reaction score
- 15
Oto moj prosty skrypt na zmiane p?ci za pomomoca runy
a oto on:
tworzymy plik o nazwie sex.lua i wklejamy:
CONST_ME_MAGIC_RED
a oto on:
tworzymy plik o nazwie sex.lua i wklejamy:
potem do spells.xml wklejamy linijke:function onCastSpell(cid, item, fromPosition, itemEx, toPosition)
if( getPlayerSex(cid) == 0 )then
doPlayerSetSex(cid, 1)
doSendMagicEffect(getCreaturePosition(cid), CONST_ME_MAGIC_GREEN)
else
if( getPlayerSex(cid) == 1 ) then
doPlayerSetSex(cid, 0)
doSendMagicEffect(getCreaturePosition(cid), CONST_ME_MAGIC_GREEN)
end
return true
end
end
Prosze o wyrozumia?o?? bo jest to moj 1 skrypt w 100% by me. w screenach jest CONST_ME_MAGIC_BLUE zamiast CONST_ME_MAGIC_GREEN ale ja polecam osobi?cie<rune name="Sex Rune" id="id runy" allowfaruse="1" charges="1" lvl="20" maglv="3" exhaustion="10000" aggressive="0" needtarget="1" blocktype="solid" event="script" value="?cie?ka do pliku lua"/>
CONST_ME_MAGIC_RED