Browsing Wiremod's section
← Back to ACE
💬

Community answer

Collected from the ACE community Discord archive around 2025-06-20. It may be informal or outdated — anyone can edit this page to improve it. Original discussion

require paths and file.read variants

🔌 WiremodUpdated 2 days ago•0 views
require resolves relative to the current file and the starfall/ folder. file.read reads sf_filedata, file.readTemp reads sf_filedatatemp, file.readInGame reads …

Does require look relative to the main script, and what are file.read/readTemp/readInGame

require resolves relative to the current file and the starfall/ folder. file.read reads sf_filedata, file.readTemp reads sf_filedatatemp, file.readInGame reads the garrysmod folder.

Was this article helpful?

See More

Discussion(0)

No comments yet. Be the first to ask a question!

Have a question? Sign in to join the discussion.