1. Sign up for news, events and more!

    You're currently visiting the official DarkRP Forums as a guest. Sign up now to participate in our community and we'll let you know when we have news.

Cloak after joining a job

Discussion in 'DarkRP Modding Questions & Help' started by The French Spy, Aug 12, 2017.

  1. The French Spy

    The French Spy New Member

    Hi guys, I would like to know if it is possible to cloak peoples when they join a job and uncloak them after choosing another job or after dying. ;)
     
  2. Sir Klutch

    Sir Klutch Active Member

    I believe this should work... Add this to your job.
    Code (Lua):

    PlayerSpawn = function(ply)
            ply:SetRenderMode(RENDERMODE_TRANSALPHA)
            ply:SetColor(Color(0, 0, 0, 0))
    end,
     
     
  3. The French Spy

    The French Spy New Member

    It just make the playermodel black and it stay after changing jobs :(
     
  4. Sir Klutch

    Sir Klutch Active Member

    Code (Lua):
    PlayerSpawn = function(ply)    
            ply:SetNoDraw(true)
    end,
    Try this...
     
  5. The French Spy

    The French Spy New Member

    it works thanks :D
     
    Sir Klutch likes this.

Share This Page