player.LimitHit

From GMod Wiki

Jump to: navigation, search
Gamemode Function: Player.LimitHit
Player.LimitHit is a function that is defined in the Sandbox Gamemode and its derivatives.
Function
Syntax player.LimitHit( String String )
Description:
Popup a custom "limit hit" popup in sandbox
Returns: nil
In Object: Player
Realm: NewerShared.png
BBCode Link: [b][url=http://wiki.garrysmod.com/?title=Player.LimitHit]Player.LimitHit [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]



Examples

DescriptionPut a notification on all the players screen saying that they "hit the LAWL limit"
Used onNewerServer.png
Code
for k, ply in ipairs(player.GetAll()) do
       ply:LimitHit( "LAWL" )
end
Output"You hit the LAWL limit"
Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox