• No colliding bought entities
    3 replies, posted
I know this seems stupid to ask but could someone show me how to make this code No Collided to players. Im not very good at making stuff like this local entTable = { ["zfs_shop"] = true } hook.Add("playerBoughtCustomEntity", "SetOwnerOnEntBuy", function(ply, enttbl, ent, price)     if entTable[ent:GetClass()] then          --Check table of entities     ent:CPPISetOwner(ply)     end end)
try Entity:SetCollisionGroup(COLLISION_GROUP_PASSABLE_DOOR)
How would i do that like could you show the code so i could understand im very bad at this sorry
The code was shown. Use it.
Sorry, you need to Log In to post a reply to this thread.