• Entity Dropping on Floor
    1 replies, posted
Hello! I am doing a Star Wars RP server and I am using a jetpack addon. It works perfectly but when a player dies it drops it on the ground. Is there a hook that can delete entities if they are just on the floor. Any help is appreciated!
function GM:OnEntityCreated(ent) if (ent:GetClass() == "starwars_jetpack") then ent:Remove() end end http://wiki.garrysmod.com/page/GM/OnEntityCreated
Sorry, you need to Log In to post a reply to this thread.