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
https://beta.unity3d.com/download/db9a69dc5569/public_download.html | |
because the website doesn't always load |
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
--[[object:GetParent() | |
object:GetTransform() -- find nearest transform in parents | |
uid | |
networking | |
transform can have a box which is meters in 3d and pixels in 2d | |
transform | |
physics | |
collision model |
This file has been truncated, but you can view the full file.
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
package.preload.luajit = function(...) local ffi = require("ffi") | |
ffi.cdef([[struct lua_State {}; | |
struct lua_Debug {int event;const char*name;const char*namewhat;const char*what;const char*source;int currentline;int nups;int linedefined;int lastlinedefined;char short_src[60];int i_ci;}; | |
struct luaL_Reg {const char*name;int(*func)(struct lua_State*);}; | |
struct luaL_Buffer {char*p;int lvl;struct lua_State*L;}; | |
void(luaL_buffinit)(struct lua_State*,struct luaL_Buffer*); | |
void(lua_setfield)(struct lua_State*,int,const char*); | |
double(luaL_optnumber)(struct lua_State*,int,double); | |
void(lua_xmove)(struct lua_State*,struct lua_State*,int); | |
void(luaL_pushresult)(struct luaL_Buffer*); |
This file has been truncated, but you can view the full file.
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
package.preload.luajit = function(...) local ffi = require("ffi") | |
ffi.cdef([[struct lua_State {}; | |
struct lua_Debug {int event;const char*name;const char*namewhat;const char*what;const char*source;int currentline;int nups;int linedefined;int lastlinedefined;char short_src[60];int i_ci;}; | |
struct luaL_Reg {const char*name;int(*func)(struct lua_State*);}; | |
struct luaL_Buffer {char*p;int lvl;struct lua_State*L;}; | |
void(luaL_buffinit)(struct lua_State*,struct luaL_Buffer*); | |
void(lua_setfield)(struct lua_State*,int,const char*); | |
double(luaL_optnumber)(struct lua_State*,int,double); | |
void(lua_xmove)(struct lua_State*,struct lua_State*,int); | |
void(luaL_pushresult)(struct luaL_Buffer*); |
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
local OS = jit and jit.os:lower() or "unknown" | |
local ARCH = jit and jit.arch:lower() or "unknown" | |
local start_time = os.clock() | |
if not os.getenv("GOLUWA_CLI") then | |
if os.getenv("GOLUWA_CLI_TIME") then | |
io.write("[runfile] ", os.getenv("GOLUWA_CLI_TIME"), " seconds spent in ./goluwa", OS == "windows" and ".cmd" or "", "\n") | |
end |
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
let a = [500, | |
248, | |
248, | |
248, | |
500, | |
248, | |
500, | |
248, | |
248, | |
248, |
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
local global_can_play = true | |
local _wowozela_volume = CLIENT and CreateClientConVar("wowozela_volume","0.5",true,false) | |
local wowozela_volume = 0.5 | |
wowozela = {} | |
local wowozela = wowozela | |
wowozela.thinkers = {} | |
local thinkers = wowozela.thinkers |
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
local DEBUG = GetConVarNumber("developer") > 0 | |
local DEBUG2 = true | |
do | |
local MOVED = {} | |
local MOVE_REF = {} | |
local function net_write(ent, vec, ang) | |
net.WriteEntity(ent) |
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
local SWEP = weapons.Get("gmod_tool") | |
local TOOL = getmetatable(SWEP.Tool.weld):Create() | |
TOOL.Mode = "test" | |
do | |
-- Remove this to add it to the menu | |
TOOL.AddToMenu = true | |
-- Define these! | |
TOOL.Category = "My Category" -- Name of the category |
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
local DEBUG = true | |
local DEBUG2 = true | |
local ENT = {} | |
local MOVED = {} | |
ENT.ClassName = "monster_seagull" | |
ENT.Type = "anim" | |
ENT.Base = "base_anim" | |
ENT.Spawnable = true |