Advertisement
Guest User

SteamID to Clipboard - ULX

a guest
Mar 14th, 2014
174
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.39 KB | None | 0 0
  1. function ulx.floop ( calling_ply, target_ply )
  2.  
  3. calling_ply:SetClipboardText ( target_ply:SteamID() )
  4. ulx.fancyLogAdmin( calling_ply, true, "#A copied the SteamID of #T", target_ply )
  5.  
  6. end
  7. local floop = ulx.command ( CATEGORY_NAME, "ulx id", ulx.floop, "!id" )
  8. floop:addParam{ type=ULib.cmds.PlayersArg }
  9. floop:defaultAccess ( ULib.ACCESS_ALL )
  10. floop:help ( "Copies target's SteamID" )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement