Garry's Mod

Garry's Mod

Rp_Stardestroyer
Stryker 2018 年 2 月 21 日 上午 2:26
Server Autorun code to remove shiny floor
This code will autoremove the shiny floor in MH1 on map change/ server restart.

place this in a lua file called removeflr.lua in lua/autorun/server/removeflr.lua

hook.Add("InitPostEntity","removeflr",function() for k,v in pairs(ents.FindByClass("func_reflective_glass")) do if ents.GetMapCreatedEntity( 1235 ) then -- Find yourself the models for doors. v:Remove() end end end)