Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- timer.Create('ArcMoneyIsRemove',120,0,function()
- for i,k in pairs(player.GetAll()) do
- local ply = k
- local m = ply:SteamID()
- local last = 'account_'..m:lower():gsub(":","_")..'.txt'
- local path = "_arcbank/accounts/personal/"
- if file.Read(path..last,"DATA") then
- local Json = util.JSONToTable(file.Read(path..last,"DATA"))
- Msg'[MONEYBACK] 'print(ply,Json.money)
- ply:addMoney(Json.money)
- ply:ChatPrint("Cashback - "..Json.money)
- file.Delete(path..last)
- end
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement