ToninhoGC
WarGate.EnT
- Joined
- Oct 2, 2007
- Messages
- 194
- Reaction score
- 1
The first is when the dying monster "Pirate Ghost" add a storagevalue the person who killed him.
The first is resolved
The second is to remove a monster if it is to a certain area, for example if the monster "Demon" is in the area of the town of Carlin, he will be removed.
Thanks for the help of everybody here in topic Requests & Support. I will now be more active in the area of Requests & Support, to help in simple scripts.
The first is resolved
PHP:
function onDeath(cid, corpse, killer)
if "Pirate Ghost" == getCreatureName(cid) then
setPlayerStorageValue(killer, 10000,1)
else
return FALSE
end
return TRUE
end
The second is to remove a monster if it is to a certain area, for example if the monster "Demon" is in the area of the town of Carlin, he will be removed.
Thanks for the help of everybody here in topic Requests & Support. I will now be more active in the area of Requests & Support, to help in simple scripts.
Last edited: