forked from Facepunch/garrysmod
-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sync Garrysmod #2
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Also removed a bunch of unused variables, etc, shuffled code around, fixed a potential error with thruster effects
spawnmenu_reload
New background image, scales better with custom tool panel width, holding SHIFT should now make it easier to position fingers
It returns a table of all list names.
Also aligned checkbox labels in New game
* Add player_manager.GetTable() and PLAYER:Destroy() Getting the table of registered player classes is a pain and PLAYER:Destroy() would be useful for removing things that aren't garbage collected, such as client-side props and projected textures. Also, method.Func looks useless, might want to remove it.
* Fix mass vector_origin replacement bug Caused by b9839ed#diff-5dec0ab92ef177ebb4780d5ee7fd4cddb6b4701902f4496738d4c7b51cd4d69cR136 * Update gmod_hoverball.lua Co-authored-by: Rubat <robotboy655@facepunchstudios.com>
Enables by default: - ttt_detective_hats - ttt_teleport_telefrags - ttt_no_nade_throw_during_prep Fixes #1738
Avoids crashing issues
Added 3rd argument to spawnmenu.ActivateToolPanel
Adds duplicator.FigureOutRequiredAddons
Fixed constraint.GetAllConstrainedEntities returning all entities constrained to world if the given entity is constrained to world
Incorrect form > ВЫБЕРЕТЕ ОБРАЗЕЦ Correct > ВЫБЕРИТЕ ОБРАЗЕЦ The word “выберите” expresses a wish, request, or order. In this context, the verb form of the imperative plural is used. https://russkiiyazyk.ru/orfografiya/pravopisanie/kak-pravilno-pishetsya-slovo-vyiberete-ili-vyiberite.html
* New player mic volume tip * Increased number of tips
* Made hook.Add/Remove not silently fail on arg type mismatch In the rare case a typo was made for the hook args, it is now noticeable.
* Add table.Shuffle Performs an inline Fisher-Yates shuffle on the table in O(n) time * table.Shuffle small optimization
* New library: ease * ease -> math.ease * fix: call correct math.ease function probably a module leftover * Reduce repeated multiplication to powers * Reduce _G lookups and use a `module()` Co-authored-by: Tom <27384135+CupCakeR@users.noreply.github.com>
Example usage ```lua function ENT:KeyValue( key, value ) if ( BaseClass.KeyValue ) then BaseClass.KeyValue( self, key, value ) end if ( self:SetNetworkKeyValue( key, value ) ) then return elseif ( self:AddOutputFromKeyValue( key, value ) ) then return end -- Your entity's logic goes here end function ENT:AcceptInput( name, activator, called, value ) if ( BaseClass.AcceptInput and BaseClass.AcceptInput( self, name, activator, called, value ) ) then return true end if ( self:AddOutputFromAcceptInput( name, value ) ) then return true end -- Your entity's logic goes here return false end ```
This simply matches behavior of the "old" method which ends up with lowercase keys.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.