Const
A special macro that will make a block of code server-only, stripping it from client code.
Can only be used within an if statement - e.g.
if ($SERVER) { print("I only print on the server!");} Copy
if ($SERVER) { print("I only print on the server!");}
To mark a whole method as server-only, see Server.
A special macro that will make a block of code server-only, stripping it from client code.
Can only be used within an if statement - e.g.
To mark a whole method as server-only, see Server.