Advertisement
Guest User

Untitled

a guest
Jan 20th, 2015
810
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.44 KB | None | 0 0
  1. // THIS IS A EXAMPLE, THIS WOULD ADD A RANK BAR TO YOUR HUD.
  2. // PUT THIS IN YOUR CONFIG FILE UNDER THE OTHER 'addHUDBar's
  3.  
  4. addHUDBar( {
  5. name = "rank",// just a identifier
  6. mat = "icon16/user.png", // icon
  7. color = Color( 20, 20, 20 ),// color of the box
  8. func = function( lp ) // the text it returns
  9. local gp = lp:GetNWString( "usergroup" )
  10.  
  11. return "Rank: "..gp
  12. end,
  13. } )
  14.  
  15.  
  16. // script: https://scriptfodder.com/scripts/view/704
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement