ziggy46802
Active Member
- Joined
- Aug 19, 2012
- Messages
- 418
- Reaction score
- 27
Alright, I know this script is embarrassing but this is what I tried
I got no errors but it just did nothing to the worn firewalker boots. Anyone help me out?
Code:
local WORN_FIREWALKER_BOOTS = {9934, 10022}
local FIREWALKER_BOOTS = 9933
function onUse(cid, item, frompos, item2, topos)
if getPlayerItemCount(cid, 2147) >= 1 and
getPlayerItemCount(cid, WORN_FIREWALKER_BOOTS) >= 1 then
doPlayerRemoveItem(cid, WORN_FIREWALKER_BOOTS, 1)
doPlayerAddItem(cid, FIREWALKER_BOOTS, 1)
return true
end
return true
end
I got no errors but it just did nothing to the worn firewalker boots. Anyone help me out?