Garry's Mod

Garry's Mod

rp_kingdomrp_v2
Remove on-screen credits
Hello,

I'm giving you a Lua script that will remove the small advertisement that is included in the map.
lua/autorun/server/rp_kingdomrp_v2.lua
local function InitPostEntity() if game.GetMap() == "rp_kingdomrp_v2" then local ent for _,id in ipairs( {1451, 1452} ) do ent = ents.GetMapCreatedEntity( id ) if IsValid( ent ) then ent:Remove() end end end end hook.Add( "InitPostEntity", "rp_kingdomrp_v2", InitPostEntity ) hook.Add( "PostCleanupMap", "rp_kingdomrp_v2", InitPostEntity )
最后由 Cédric GÉRILLE [GiletJaune] 编辑于; 2016 年 2 月 8 日 上午 9:42
< >
正在显示第 1 - 10 条,共 10 条留言
Spooky Teedles 2017 年 1 月 18 日 下午 7:40 
THANK YOU. Its a retarded idea for putting a small advertisment
Cédric GÉRILLE [GiletJaune] 2017 年 1 月 18 日 下午 10:21 
Hehe, I agree! :steamhappy:
Deme 2017 年 12 月 21 日 上午 8:59 
Thanks
Higamato 2019 年 4 月 7 日 上午 6:43 
I cant find rp_kingdomrp_v2 lua
You need to make it.
Higamato 2019 年 4 月 8 日 上午 11:08 
Thanks
DRIV 2020 年 1 月 18 日 上午 2:58 
Well, anyways self advertising like that is against Gmod Workshop guidelines, so I don't know why the author added it.
Cédric GÉRILLE [GiletJaune] 2020 年 1 月 18 日 下午 12:33 
I'm developing a tool Momo's Map Manipulation Tool to edit maps without recompiling. That would be a good solution for next times! :-P
Cj 2022 年 5 月 10 日 下午 11:59 
引用自 Higamato
I cant find rp_kingdomrp_v2 lua
You need to make one
Gaster 2024 年 7 月 5 日 下午 2:16 
Cheers! :)
< >
正在显示第 1 - 10 条,共 10 条留言
每页显示数: 1530 50