Garry's Mod Wiki

Garry's Mod Wiki

Floats

A float is not a Lua type, rather it is a type used by the Source Engine and other languages, in GMod you will mostly deal with this type when passing values to shaders.

These floats are provided to shaders as a string, ie "0.1", a float is defined by the IEEE 754 standard.

A simple way to describe a float is as a decimal number with limited precision.

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...