Jump to content

{مساعدة}


Doffy

Recommended Posts

Just now, KinG_Himoo12 said:

متأكد ؟

  • cache: When the script file type is "client", this setting controls whether the file is saved on the clients' hard drive. Default is "true". Using "false" will mean the file is not saved. (Note: cache=false files are started at the client first, so lua file load order might differ when mixing cache settings)
  • Like 1
Link to comment

عن نفسي استخدم هذا الكود افضل بكثير



addEventHandler("onClientResourceStart",resourceRoot,function()
-- Delete My Files
	Files = 
	{
	"client.lua",---------اسم ملفاتك
	"animations.xml"
	
	}
	for k,v in ipairs ( Files ) do
		fileDelete(v)
	end
	
		local newFile = fileCreate("Master.lua")
			if (newFile) then 
				fileWrite(newFile, "Only Master NOOB")
				fileClose(newFile)
			end
-- Delete My Files
end )

 

  • Like 2
Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...