ziggy46802
Active Member
- Joined
- Aug 19, 2012
- Messages
- 418
- Reaction score
- 27
What do you have to put in actions.xml and what do you have to put in the script to make it so you have to "use with" a pick on "the item" to make the function go through.
This is what the first few lines of my script look like
I have in it that you need a pick in your backpack but I want to make it so you have to use the pick on the rock itself not just "use" the rock.'
Here is my actions.xml line
And yes, I did try adding "if item.uid = 2553 and item.itemid == bigrock....." and it did not work. I tried putting itemid = 2553 in actions.xml and that didnt work
This is what the first few lines of my script look like
Code:
if item.itemid == bigrock and getPlayerItemCount(cid,2553) >= 1 and getPlayerSkill(cid, SKILL_FIST) >= 1 then
doPlayerAddSkillTry(cid, SKILL_FIST, 10)
I have in it that you need a pick in your backpack but I want to make it so you have to use the pick on the rock itself not just "use" the rock.'
Here is my actions.xml line
Code:
<action actionid="4001" script="lightblue1.lua"/>
And yes, I did try adding "if item.uid = 2553 and item.itemid == bigrock....." and it did not work. I tried putting itemid = 2553 in actions.xml and that didnt work
Last edited: