Garry's Mod Wiki

Garry's Mod Wiki

Operators & Aliases

Garry's Mod adds a custom operator and aliases various native Lua operators.

Garry's Mod
Operator
Note
continue Consider using goto for repeat-until loops instead.
Lua Garry's Mod
Alias
and &&
or ||
not !
~= !=
--[[ ]] /* */
-- //
If you want to keep your code compatible with other Lua environments,
it's recommended to avoid using these custom operators & aliases.

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated four times a day. Edits and history are not available.

Last Parsed: Loading...