- Joined
- May 23, 2010
- Messages
- 185
- Reaction score
- 23
I want to know how to do this:
When i have storage X, monster Y can't attack me.
Ex:
Player Storage 1000
Minotaur can't attack this player.
AND hugen try to help me, but i want a specific monsters, he sad that:
OBS NOW (22:50) i Try this script, but it doesn't work
what tag i have to paste in creatures/xml? and i have to register something in login?
Please help me.
When i have storage X, monster Y can't attack me.
Ex:
Player Storage 1000
Minotaur can't attack this player.
AND hugen try to help me, but i want a specific monsters, he sad that:
Is it possible to do with a specific monsters?function onCombat(cid, target)
if isMonster(cid) then
if isPlayer(target) then
if getPlayerstorageValue(target, 1000) == 1 then
return false
end
end
end
return true
end
OBS NOW (22:50) i Try this script, but it doesn't work
Please help me.