Garry's Mod Wiki

Revision Difference

Player:LimitHit#527033

<function name="LimitHit" parent="Player" type="classfunc"> <description> Shows "limit hit" notification in sandbox. <note>This function is only available in Sandbox and its derivatives</note> </description> <realm>Shared</realm> <args> <arg name="type" type="string">Type of hit limit</arg> </args> </function> <example> <description>Sends a fake "limit hit" notification</description> <code> for id, ply in pairs( player.GetAll() ) do for i, ply in ipairs( player.GetAll() ) do ply:LimitHit( "test" ) end </code> <output>A notification pops up saying "SBoxLimit_test"</output> </example>