• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!
  • 2026 staff recruitment is open! Check it out and consider applying!

Lua Send item to depot GOD

gmstrikker

Well-Known Member
Joined
Jul 30, 2014
Messages
458
Solutions
1
Reaction score
50
I have a donate system...

Player show me the donate tell city and i give parcel to him with itemid 6527
(its donate coin)

But i have a problem to give items to dp Rookgaard (town id 7)
I put a DP on rookgaard and put on config.lua
Code:
mailboxDisabledTowns = "7"

And now when rookers donate what i need to do?

Im using 0.4
 
Friday, Saturday, now Sunday.. and you haven't attempted to edit the script at all?
Put some prints in.
Show us your trying.
Give us screenshots.
Give us information.
Nobody here can or will help you, if you dont help us help you.
I only posted that script because everyone was crying 'source edit' when a function might already exist.
I have never tried using the function do I don't know what it returns.

What if you simply put 'return false'.. what happens to the parcel?
What information does each part of the function return?

Simple things to check.
Simple things to look into.

I don't mind helping people, but seriously, bump for 3 days, and n..

gotta go to work
rant over

I've look on sources to found correct name functions

But idk how to fix this error
When i tried send parcel to me
"Striker"
"Rookgaard" (7 town was blocked)

With normal player show me

"This player does not exist."

And even return false, the parcel still send
I've tried to change to return true, reload and same problem

every i found in forum about this function is it, a topic with no aswer
https://otland.net/threads/onsendmail.136268/
 
guys start using your brain please, go to google/github, look for the function and inside the cpp files, try to understand how mailbox works. Use ur brain unless u want to be old and stupid, I always would prefer to be older than stupid.
 
guys start using your brain please, go to google/github, look for the function and inside the cpp files, try to understand how mailbox works. Use ur brain unless u want to be old and stupid, I always would prefer to be older than stupid.

Me? But i did all as in my knowledge

I just don't find much things about this function here in otland
 
Back
Top