Jump to content

When i compile script it doesnt work


xTravax

Recommended Posts

well thanks for helping me but still

wait,do i need to have lua and bak files at same time at same place?

so in drift resource should i just have drift.bak

or drift.lua and drift.bak?

because it fu**** up my files which i cannot replace with a old backup idk why

and on drift script is missing one row

and when i make 1 drift that drift points got disabled by itself idk did it compile with a mistake but still i need a help

Link to comment

wtf now 1 server stealed my scripts.

luckily my friend is kinda of spy so he was playing he asked for admin and he getted it and he deleted everything in admin resources tab except resourcemanager admin and one more resource called resourcesomething and btw they can still steal my scripts and that works when they steal......

Link to comment
Hmm You Try The Scite ? Use FileDelete .

Man i just see that program like Notepad++ for editing .lua files but can you give me some example of that filedelete?

and Anderl,Thanks is there any way to report that Server?

For Example you can use it like that but the code in the last script :

fileDelete ( client.lua ) 
fileDelete ( server.lua ) 
fileDelete ( wall.png ) 

Link to comment
Hmm You Try The Scite ? Use FileDelete .

Man i just see that program like Notepad++ for editing .lua files but can you give me some example of that filedelete?

and Anderl,Thanks is there any way to report that Server?

For Example you can use it like that but the code in the last script :

fileDelete ( client.lua ) 
fileDelete ( server.lua ) 
fileDelete ( wall.png ) 

There's still a workaround for that way, and server files don't need to be deleted because they aren't even downloaded.

Link to comment

Could i use

local newFile = fileCreate("client.lua")                -- attempt to create a new file 
if (newFile) then                                     -- check if the creation succeeded 
    fileWrite(newFile, "This is a test file!")        -- write a text line 
    fileClose(newFile)                                -- close the file once you're done with it 
    fileDelete(newFile)                               -- delete file 
end 
  
local newFile = fileCreate("drift.lua")                -- attempt to create a new file 
if (newFile) then                                     -- check if the creation succeeded 
    fileWrite(newFile, "This is a test file!")        -- write a text line 
    fileClose(newFile)                                -- close the file once you're done with it 
    fileDelete(newFile)                               -- delete file 
end 

?

I'm sorry i used an Example from Wiki and just edited it.

Because i'm not so good at scripting and i need this.

And btw when i make that filedelete script then i put my drift.lua and client.lua script in same folder and write that 3 scripts in meta.xml and when people download folder will be empty?

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...