LeQuackers

Results 7 issues of LeQuackers

This is an attempt to close Facepunch/garrysmod-requests/issues/738. Adds iterators for entities and players which are read-only and cached. The main benefit to this is performance; crossing over from Lua to...

Addition

This is an attempt to close Facepunch/garrysmod-requests/issues/798. This allows you to omit the slot of DT/NetworkVars, which simplifies DataTable inheritance. ```Entity:IsDTVarSlotUsed(typename, slot)``` and minor optimizations are also included. The DT/NetworkVars...

Addition
Enhancement

As the title states. Default values are nice and custom validators would be very useful. Some examples: ``` local tab = {} function FORCE_PLAYER(v) return isentity(v) and v:IsValid() and v:IsPlayer()...

Enhancement

This adds basic object oriented support to the team module. You can call team.Register to register a team object with custom logic/extensions. If you want the old behavior, you can...

Addition

Useful in animations that require natural looking movement. The seeds for the noise functions should be offsets with respect to time, for example: ```Lua local vec1 = util.NoiseVector( time )...

Addition

Similar to the Lerp and BSpline functions, however it allows you to set the starting and ending tangents. Works with integers and vectors, might work with angles.

Addition

As the title says. Using ```CUserCmd:SetImpulse```/```impulse num``` for sending player input is nice because it's generated by the client and predicted. The only problem with it is that you're limited...

Net-Compat-Breaking