przemek1991
New Member
- Joined
- Feb 17, 2008
- Messages
- 25
- Reaction score
- 0
Hi, I need a script that remove item created by script onStepIn when someone dies in area. I writed something like that but it don't work
If somebody know how to do it I give rep+ thanks
PHP:
local tree = {x = 32716, y = 32345, z = 7, stackpos=1}
local frompos = {x = 32705, y = 32343, y = 7, stackpos=1}
local topos = {x = 32726, y = 32357, y = 7, stackpos=1}
function onDeath(cid, pos)
if isInArea(getPlayerPosition(cid), frompos, topos) then
doRemoveItem(2717, tree)
end
return TRUE
end