Maurits.tv

Half-Life 2 Sound List

WebThis list was compiled as a helpful reference for use with functions that have to do with sound emitting as well as the Wiremod sound emitter and related components. It …

Actived: 6 days ago

URL: https://www.maurits.tv/data/garrysmod/wiki/wiki.garrysmod.com/index8f77.html

Entity.GetMaxHealth

WebDescription. Set the health of the player with the index 1 to it's maximum (200). Used on. Code. local ply = player.GetByID ( 1 ) . ply:SetMaxHealth (200) .

Category:  Health Go Health

Code Snippets General

Web3 Loops and statements. 3.1 Looping through Every Character in a String. 3.2 Using 'repeat, until'. 3.3 Doing 'if .. then else' in One Line. 3.4 Returning 'if .. then else'. 4 …

Category:  Health Go Health

Basic Scripted NPC

WebFirst of all, all these files (as of the beta) go into: garrysmod/lua/entities or the respective equal gamemode folder. Second of all, you can use notepad for editing/writing lua, …

Category:  Health Go Health

Entity.SetHealth

WebAdditional Notes . A short period of time exists after an entity's health is set by this method where it cannot be damaged. This problem can easily be handled using timer.Simple.; …

Category:  Health Go Health

Wired Pod Controller

WebA Tool that allows control of wire components from within a pod. Primary fire: Spawns a Pod Controller. Secondary fire: Links a pod controller to a pod vehicle. Reload: No action. …

Category:  Health Go Health

Player.EquipSuit

WebSyntax. Player:EquipSuit ( ) Description: Gives the player an HEV Suit, which is what allows them to switch weapons, and see their health, armor, and current ammo. …

Category:  Health Go Health

Entity.SetHealth

WebAdditional Notes . A short period of time exists after an entity's health is set by this method where it cannot be damaged. This problem can easily be handled using …

Category:  Health Go Health

Lua run (console command)

WebYou can run any valid lua code with this. Set's the first player's health to 300. You can also chain multiple lines in a single command. Creates a zombie and spawns it (at the origin …

Category:  Health Go Health

Player.RemoveSuit

WebAdditional notes. The HEV suit is what allows the CHud elements to appear, such as the standard health and armor display, the current ammo, and even the ability to switch weapons.

Category:  Health Go Health

Wire Expression2:Examples

WebChat example (by Matte) Description: Simple expression showing how to set a value in the E2 via chat commands. It takes what the owner said, explodes it into an array, and …

Category:  Health Go Health