Having Some Problems Finding An Exploit
The server I play on has a donation box system where you can put money into a box then the owner can collect it. Im trying to put a negative integer in so when it goes to withdraw from my cash the double negative makes it positive thus giving me money instead. But I keep getting fucking lua errors.
Code Im Using
Code:
local box = LocalPlayer():GetEyeTrace().Entity
net.Start( "donation_box" )
net.WriteTable(box)
net.WriteFloat(-500000)
net.SendToServer()
Error Im Getting:
Code:
[ERROR] lua/includes/modules/net.lua:92: bad argument #1 to 'pairs' (table expected, got userdata)
1. pairs - [C]:-1
2. WriteTable - lua/includes/modules/net.lua:92
3. unknown - lua/functiondump.lua:5
If any of you lua magicians out there want to help me out please shine some light on this dull exploit of mine.