Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local TB2Insert = {}
- TB2Insert.TuneData = DB.TuneData
- TB2Insert.VehicleName = DB.VehicleName
- TB2Insert.UniqueID = UID
- InventoryData[UID] = TB2Insert
- Covered = Covered + 1
- end
- if Covered > 0 then
- RXCar_Provider_SaveInventory(ply:SteamID(),InventoryData,function(Done)
- ply:RXCarNotify("[Car dealer] : You had " .. Covered .. " Cars before server is crashed. they are all restored.")
- end)
- end
- file.Write("rm_car_dealer2/crashsaver/" .. SteamIDG .. ".txt", util.TableToJSON({}))
- end)
- end
- end
- concommand.Add( "forcebuy", function(ply)
- end )
- function D3DCarCrashSaver:RemoveCar(ply,CarEnt)
- if ply.D3DCar_ActivatingCars[CarEnt] then
- ply.D3DCar_ActivatingCars[CarEnt] = nil
- D3DCarCrashSaver:SaveActivatingCars(ply)
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement