Members Login
Username 
 
Password 
    Remember Me  
Post Info TOPIC: SPELLWAND OF WATERWALKING!!


Member

Status: Offline
Posts: 9
Date:
SPELLWAND OF WATERWALKING!!
Permalink   


HI DUDES ... HERE IS THE CODE OF THE SPEELWAND OF WATERWALKING


FIRST CREATE A FOLDER WITH THE NAME: "boww" IN "data/actions/scripts"


OPEN THIS FOLDER AND WRITE:


 


 


function onUse(cid, item, frompos, item2, topos)



if item2.itemid == 601 or item2.itemid == 602 or item2.itemid == 603 or item2.itemid == 729 or item2.itemid == 730 or item2.itemid == 731 or item2.itemid == 732 or item2.itemid == 733 or item2.itemid == 734 or item2.itemid == 735 or item2.itemid == 736 or item2.itemid == 737 or item2.itemid == 738 or item2.itemid == 26 or item2.itemid == 739 or item2.itemid == 740 then


doTeleportThing(cid,topos)
doSendMagicEffect(topos,1)
doSendMagicEffect(frompos,1)
doPlayerSendTextMessage(cid,24,"You are in the Water!")


else
doSendMagicEffect(frompos,2)
doPlayerSendCancel(cid,"You cannot use the wand here.")
end
return 1
end


 



NOW OPEN THE FILE: "actions.xml'' in "data/actions"


there you put the line


<action itemid="3012" script="boww.lua" allowfaruse="1" />


AND SAVE


NOW... IF U WANT.. OPEN THE FILE: "items.xml"


if u want u can change the name for the wand to spelllwand of water



__________________
^^


Member

Status: Offline
Posts: 9
Date:
Permalink   

Oh man... too bad... plz comments!!!!!!!!!:PP!!

__________________
^^
Anonymous

Date:
Permalink   

good job y liked it tnx

__________________
Page 1 of 1  sorted by
 
Quick Reply

Please log in to post quick replies.

Tweet this page Post to Digg Post to Del.icio.us


Create your own FREE Forum
Report Abuse
Powered by ActiveBoard