Author Topic: Player Specific jobs  (Read 1600 times)

0 Members and 1 Guest are viewing this topic.

Offline FBspitty

  • Newbie
  • *
  • Posts: 1
  • Karma: 0
Player Specific jobs
« on: August 11, 2014, 07:23:31 PM »
Hello i have just finished reading a topic that helped me with usergroup specific jobs but now i want player specific i was wondering if and how this would work

  customCheck = function(ply) return ply:GetNWString("usergroup") == "owner" end,

but as something like

  customCheck = function(ply) return ply:GetNWString("STEAMID") == "STEAMIDHERE" end,

Offline Caustic Soda-Senpai

  • Sr. Member
  • ****
  • Posts: 469
  • Karma: 54
  • <Insert something clever here>
    • Steam Page
Re: Player Specific jobs
« Reply #1 on: August 24, 2014, 09:18:54 PM »
customCheck = function( ply ) return ply:SteamID() == "STEAM_(numbers)" end

This is just my method, hope it helps.
Once you get to know me, you'll find you'll have never met me at all.