πŸ’¬

Community answer

Collected from the ACE community Discord archive around 2026-01-12. It may be informal or outdated β€” anyone can edit this page to improve it. Original discussion

--@server directive inside a string breaks the chip

πŸŒ™ LuaUpdated 2 days agoβ€’0 views
The Starfall preprocessor searches for the directive pattern anywhere in the code - it doesn't know what's a string vs real code - so '--@server' inside the gen…

Why does a --@server directive inside a string in prop.createSent prevent the client from initializing

The Starfall preprocessor searches for the directive pattern anywhere in the code - it doesn't know what's a string vs real code - so '--@server' inside the generated code string gets processed. Workaround: build the directive dynamically, e.g. "--@" .. "server" or "--\064server".

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.