Fopen

From SA-MP

Jump to: navigation, search


fopen

(name[], mode)
name[]The filename
modeOne of the openfilemodes
ReturnsFile:Filehandle, is 0 if failed


open modes

io_read      Reads the file, the file must exsist
io_write     Write in the file, creates a new one
io_readwrite Reads the file or creates a new one
io_append    Appends to file, write-only
Personal tools