Advertisement
Guest User

Untitled

a guest
May 1st, 2016
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.59 KB | None | 0 0
  1. ---CREATED BY PLAYFOX---
  2.  
  3. local function ShowID( ply, text )
  4. if ( string.sub(text, 1,7 ) == "/showid" ) then
  5.  
  6. PrintMessage ( HUD_PRINTTALK , "Informazioni: " .. ply:Nick() ", " .. team.GetName(ply:Team() ) )
  7.  
  8. end
  9. end
  10.  
  11. --------------------------------------------------------------------------------------------------------------
  12.  
  13. function idplayersCommand( pl, text, teamonly )
  14.  
  15. if (text == "/showid") then
  16.  
  17. PrintMessage ( HUD_PRINTTALK , "Informazioni: " .. ply:Nick() ", " .. team.GetName(ply:Team() ) )
  18.  
  19. end
  20. end
  21.  
  22. hook.Add( "PlayerSay", "Chat", idplayersCommand )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement