Garry's Mod Wiki

Revision Difference

Player:CheckLimit#549147

<function name="CheckLimit" parent="Player" type="classfunc"> <description>Checks if the limit is hit or not. If it is, it will throw a notification saying so.</description> <realm>Shared</realm> <file line="9-L24">gamemodes/sandbox/gamemode/player_extension.lua</file> <file line="9-L32">gamemodes/sandbox/gamemode/player_extension.lua</file> <args> <arg name="limitType" type="string">Limit type. In unmodified Sandbox possible values are: * "props" * "ragdolls" * "vehicles" * "effects" * "balloons" * "cameras" * "npcs" * "sents" * "dynamite" * "lamps" * "lights" * "wheels" * "thrusters" * "hoverballs" * "buttons" * "emitters"</arg> </args> <rets> <ret name="" type="boolean">Returns true if limit is not hit, false if it is hit</ret> </rets> </function>