darkrp.requestMoney success callback fires immediately
🔌 Wiremod•Updated 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).