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