include( 'shared.lua' ) function rphud() local user = LocalPlayer() money = user:GetNWInt("money") job = user:GetNWString("job") joblen = string.len(job) reason = user:GetNWString("reason") realen = string.len(reason) length = 160 if joblen > realen then length = length + joblen else length = length + realen end surface.SetDrawColor(255, 255, 255, 200) //surface.SetTexture(surface.GetTextureID("rp/money")) //surface.DrawTexturedRect( ScrW() / 2, ScrH() / 2, 512, 512 ) surface.SetTexture(surface.GetTextureID("rp/servlogo1")) surface.DrawTexturedRect( ScrW() / 2 +430, ScrH() / 2 -370, 64, 64 ) draw.RoundedBox(1,ScrW() / 2 -400,ScrH() / 2 +100,length,75,Color(200,200,200,200)) draw.DrawText("Money: "..money.."\nJob: "..job.."\nReason: "..reason,"ScoreboardText",25,616,Color(100,100,100,200),0) local people = user:GetNWString("peoplebyme") local plode = string.Explode(" ",people) for k,v in pairs(player.GetAll()) do for key,value in pairs(plode) do if string.lower(v:Nick()) == value then local ply = v local pos = ply:EyePos() pos.z = pos.z+15 pos = pos:ToScreen() draw.DrawText( ply:Nick(), "TargetID", pos.x + 1, pos.y + 1, Color( 0, 0, 0, 255 ), 1 ); draw.DrawText( ply:Nick(), "TargetID", pos.x, pos.y, team.GetColor( ply:Team() ), 1 ); draw.DrawText( ply:GetNWString( "job" ), "TargetID", pos.x + 1, pos.y + 21, Color( 0, 0, 0, 255 ), 1 ); draw.DrawText( ply:GetNWString( "job" ), "TargetID", pos.x, pos.y + 20, Color( 255, 255, 255, 200 ), 1 ); end end end end hook.Add("HUDPaint","RPhud",rphud)