Browsing Wiremod's section
← Back to ACE
💬

Community answer

Collected from the ACE community Discord archive around 2026-07-20. It may be informal or outdated — anyone can edit this page to improve it. Original discussion

darkrp.requestMoney success callback fires immediately

🔌 WiremodUpdated 2 days ago•0 views
You passed Success(ply) - that CALLS the function immediately. Pass the function itself (or a closure) so darkrp invokes it only on acceptance: darkrp.requestMo…

Why is the success function called even though nobody accepted the money request

You passed Success(ply) - that CALLS the function immediately. Pass the function itself (or a closure) so darkrp invokes it only on acceptance: darkrp.requestMoney(ply, price, text, function() ... end).

Was this article helpful?

See More

Discussion(0)

No comments yet. Be the first to ask a question!

Have a question? Sign in to join the discussion.