Jump to content

fileCreate Client-sided Problems


novo

Recommended Posts

Hello,

I want to create a file in client-side on a defined resource (:resource/file.txt) but it's not working, here you can see my code:

fileWrite says bad file pointer, the file isn't being created.

  
local file = fileCreate(":resource/file.txt") 
if file then 
fileWrite(file, "H") 
fileClose(file) 
end 
  

Thanks in advance.

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