• I cant find way how to un-transparent entity
    1 replies, posted
Hi I know this maybe is stupid question but i am new in gmod lua and i was trying to make entity (exactly player) i used this code function ENT:Use(a , ply)           ply:SetRenderMode(RENDERMODE_TRANSALPHA) ply:SetColor(Color(0,0,0,150)) timer.Simple( 40, function()                 end ) end After 10 seconds i want to un-transparent player
You need to change timer form 40 to 10. It's better to use timer.Create here with unique name for each player or Think hook, because player can press E more than once
Sorry, you need to Log In to post a reply to this thread.