This file contains hidden or 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
-- Create shared ConVar | |
CreateConVar( "sv_connectsound", "1", FCVAR_REPLICATED ) | |
-- Sound used for [dis-]connect events | |
CreateConVar( "sv_connectsoundfile", "buttons/combine_button3.wav", FCVAR_REPLICATED ) | |
if SERVER then | |
util.AddNetworkString("FancyConnect.NetworkString") | |
hook.Add("PlayerConnect", "FancyConnect.ConnectMessage", function(name) |
This file contains hidden or 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
#!/bin/bash | |
########### | |
# Download public files from Google Drive using file identifier | |
if [ $# -lt 1 ]; then | |
echo "No argument defined. Usage: $0 fileID [destination]" >&2 | |
echo "Try '$0 --help' for more information." | |
exit 1 | |
elif [ $# -gt 2 ]; then | |
echo "Too many arguments. Usage: $0 fileID [destination]" >&2 |
This file contains hidden or 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
-- TODO: Nocollided props still trigger even with MASK_PLAYERSOLID! | |
--------------------------------------------------------------- | |
local ply = nil | |
-- WeHateGarbage | |
local t = {start=nil,endpos=nil,mask=MASK_PLAYERSOLID,filter=nil} | |
local function PlayerNotStuck() | |
t.start = ply:GetPos() | |
t.endpos = t.start |
NewerOlder