Garry's Mod Wiki

Revision Difference

integer#563669

<cat>Dev</cat>⤶ <title>Integers</title>⤶ ⤶ # Integers⤶ ⤶ A integer 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 integers are provided to shaders as a string, ie `"1"`.⤶ ⤶ A simple way to describe a integer is as a whole number.