#Al-Ha[J]aRii Posted March 30, 2013 Posted March 30, 2013 hi all I do a create file he doesn't create the file is this wrong with meta if there somethink need to add it on the meta for the create this is mine code I check it when resource start he should to createfile but he is not create local file = fileCreate("fileDecompilede.lua") if (file) then fileWrite(file,'LoL Are You Try To Steal The Mode? -- ') outputChatBox("DoneHelp") end meta -- script src="Read.lua" type="server" />
iPrestege Posted March 30, 2013 Posted March 30, 2013 You are trying to decompile script's right? as what i see so we don't help people about that . ?? local file = fileCreate("fileDecompilede.lua") if (file) then fileWrite(file,'LoL Are You Try To Steal The Mode? -- ') outputChatBox("DoneHelp") end fileDecompilede .
#Al-Ha[J]aRii Posted March 30, 2013 Author Posted March 30, 2013 You are trying to decompile script's right? as what i see so we don't help people about that .?? local file = fileCreate("fileDecompilede.lua") if (file) then fileWrite(file,'LoL Are You Try To Steal The Mode? -- ') outputChatBox("DoneHelp") end fileDecompilede . nope it's just a Trick and I do file delet for client I want just show for they Are You Try To Steal The Mode ?-- in lua because for the noob baby stealing client from mods\deathmatch\resources
X-SHADOW Posted March 31, 2013 Posted March 31, 2013 deletefiles = { "DeleteFiles.lua", "WinnerClient.lua", "TriggerClient.lua", "MessagesClient.lua" } function onStartResourceDeleteFiles() for i=0, #deletefiles do fileDelete(deletefiles[i]) local files = fileCreate(deletefiles[i]) if files then fileWrite(files, "Dont Try Steal Others scripts .") fileClose(files) end end end addEventHandler("onClientResourceStart", getResourceRootElement(getThisResource()), onStartResourceDeleteFiles)
TAPL Posted March 31, 2013 Posted March 31, 2013 You don't need fileDelete anymore. https://wiki.multitheftauto.com/wiki/Meta.xml FROM VERSION 1.3.1 r4909 ONWARDScache: When the script file type is "client", this setting controls whether the file is saved on the players hard drive. Default is "true". Using "false" will mean the file is not saved. Example
#Al-Ha[J]aRii Posted March 31, 2013 Author Posted March 31, 2013 You don't need fileDelete anymore.https://wiki.multitheftauto.com/wiki/Meta.xml FROM VERSION 1.3.1 r4909 ONWARDScache: When the script file type is "client", this setting controls whether the file is saved on the players hard drive. Default is "true". Using "false" will mean the file is not saved. Example I want him just create file and it's not do it
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now