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 )
Last edited by Cédric GÉRILLE [GiletJaune]; 8 Feb, 2016 @ 9:42am
< >
Showing 1-10 of 10 comments
Tarnished Teedles 18 Jan, 2017 @ 7:40pm 
THANK YOU. Its a retarded idea for putting a small advertisment
Hehe, I agree! :steamhappy:
Deme 21 Dec, 2017 @ 8:59am 
Thanks
Higamato 7 Apr, 2019 @ 6:43am 
I cant find rp_kingdomrp_v2 lua
You need to make it.
Higamato 8 Apr, 2019 @ 11:08am 
Thanks
DRIV 18 Jan, 2020 @ 2:58am 
Well, anyways self advertising like that is against Gmod Workshop guidelines, so I don't know why the author added it.
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 10 May, 2022 @ 11:59pm 
Originally posted by Higamato:
I cant find rp_kingdomrp_v2 lua
You need to make one
Gaster 5 Jul, 2024 @ 2:16pm 
Cheers! :)
< >
Showing 1-10 of 10 comments
Per page: 1530 50