- Joined
- May 23, 2019
- Messages
- 342
- Solutions
- 5
- Reaction score
- 26
hello, I'm trying to edit a script where when the person receives a parcel, the other person who receives it will be notified that they received it in a green message, but I'm not able to make it work in creaturescripts
<event type="receivemail" name="Mail" script="mail.lua"/>

<event type="receivemail" name="Mail" script="mail.lua"/>
Lua:
function onReceiveMail(cid, sender, item, openBox)
if(openBox) then
doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "New mail has arrived.")
end
return true
end
