Garry's Mod Wiki

Revision Difference

Player:CheckLimit#512668

<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> <args> <arg name="limitType" type="string">Limit type. In unmodified Sandbox possible values are:&#xA;* &quot;props&quot;&#xA;* &quot;ragdolls&quot;&#xA;* &quot;vehicles&quot;&#xA;* &quot;effects&quot;&#xA;* &quot;balloons&quot;&#xA;* &quot;cameras&quot;&#xA;* &quot;npcs&quot;&#xA;* &quot;sents&quot;&#xA;* &quot;dynamite&quot;&#xA;* &quot;lamps&quot;&#xA;* &quot;lights&quot;&#xA;* &quot;wheels&quot;&#xA;* &quot;thrusters&quot;&#xA;* &quot;hoverballs&quot;&#xA;* &quot;buttons&quot;&#xA;* &quot;emitters&quot;</arg> </args> <rets> <ret name="" type="boolean">Returns true if limit is not hit, false if it is hit</ret> </rets> </function>