Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --[[
- /////////////////////////////////////
- // © 2017 Michael Conway, //
- // Michael Conway - MC //
- // All rights reserved //
- /////////////////////////////////////
- // This material may not be //
- // reproduced, displayed, //
- // modified or distributed //
- // without the express prior //
- // written permission of the //
- // the copyright holder //
- // or of its author //
- // MConway@ELHostingServices.com //
- /////////////////////////////////////
- --]]
- --[ MC_Ranks v 1.0.0 ]--
- if CLIENT then
- hook.Add( "RenderScreenspaceEffects", "DisplayInsignia", function()
- for k, v in pairs(player.GetAll()) do
- if (LocalPlayer():GetPos()istance(v:GetPos()) < 500 and v:GetRenderMode() ~= RENDERMODE_TRANSALPHA and v:GetNoDraw() == false) then
- local pos = Vector(v:GetPos().x, v:GetPos().y, v:GetPos().z + 83)
- if (string.find(v:Nick(), "Pvt")) then
- local material = Material( "icons/altosrp/1.png")
- local size1 = 5
- local size2 = 5
- cam.Start3D(EyePos(), EyeAngles())
- render.SetMaterial( material )
- render.DrawSprite( pos, size1, size2 )
- cam.End3D()
- end
- end
- end
- end )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement