Skip to content

Latest commit

 

History

History
33 lines (21 loc) · 796 Bytes

delete.markdown

File metadata and controls

33 lines (21 loc) · 796 Bytes

save.delete()

 
Type function
Library save.*
Return value Boolean
Keywords save, delete
See also Sample code, save.load()

Overview

This function is used to delete the current save file.

Syntax

save.delete()

Examples

local save = require 'plugin.save'

save.init( "example.json", 1, {36, 45, 92, 36, 19, 28, 5}, "bveiubv984nw0" )

if (save.delete()) then
	print("Save file deleted!")
	save.save()
end