BlackList
PassingWrath.us
- Joined
- Aug 30, 2007
- Messages
- 133
- Reaction score
- 26
It wont work at all, idk what is the issue with it :/
Basically i want it to check for itemid, see if there is 15, then remove 15 then summon and ect.
But here you go:
Any help would be appreciated!
Basically i want it to check for itemid, see if there is 15, then remove 15 then summon and ect.
But here you go:
Code:
if getPlayerItemCount(cid,2160) == 15 then
doRemoveItem(2160, 15)
doCreateMonster("Ulim Ghost", {x = 281, y = 252, z = 6})
doPlayerSendTextMessage(cid, 21, "You have raided a Ulim Ghost!")
setPlayerStorageValue(cid, 54876, os.time()+5*60)
else
doPlayerSendTextMessage(cid, 21, "You need 15 points to raid!")
end
end
return true
end
Any help would be appreciated!