Garry's Mod

Garry's Mod

Rp_stardestroyer infinite
Stryker 2018 年 2 月 21 日 上午 2:27
Server autorun hook to disable 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)
< >
正在显示第 1 - 2 条,共 2 条留言
Lord Trilobite  [开发者] 2018 年 2 月 22 日 下午 12:11 
Very nice. This should be useful to some server owners.
billeh 2018 年 10 月 13 日 上午 7:52 
saxy
< >
正在显示第 1 - 2 条,共 2 条留言
每页显示数: 1530 50