Garry's Mod Wiki

Player:CheckLimit

boolean Player:CheckLimit( string limitType )

Description

Checks if the limit is hit or not. If it is, it will throw a notification saying so.

Arguments

1 string limitType
Limit type. In unmodified Sandbox possible values are:

  • "props"
  • "ragdolls"
  • "vehicles"
  • "effects"
  • "balloons"
  • "cameras"
  • "npcs"
  • "sents"
  • "dynamite"
  • "lamps"
  • "lights"
  • "wheels"
  • "thrusters"
  • "hoverballs"
  • "buttons"
  • "emitters"

Returns

1 boolean
Returns true if limit is not hit, false if it is hit

Page Links


Special Pages


Wikis

?

Render Time: 55ms

DB GetPage 10
Generate Html 2
SaveChanges (1) 21
Render Body 0
Render Sidebar 19