NPC problem

Hello I am trying to make an NPC there can unarrest people.
I am getting this Lua Error on the RunConsoleCommand


[ERROR] gamemodes/darkrp/entities/entities/npc_lawyer/cl_init.lua:103: attempt to call method ‘Nick’ (a nil value)

  1. DoClick - gamemodes/darkrp/entities/entities/npc_lawyer/cl_init.lua:103
  2. unknown - lua/vgui/dlabel.lua:206

    Lawyer_Icon = vgui.Create("SpawnIcon")
Lawyer_Icon:SetParent(Lawyer_Job)
Lawyer_Icon:SetPos(11, 11)
Lawyer_Icon:SetSize(60, 60)
Lawyer_Icon:SetModel(LawyerMDL[1]) 
Lawyer_Icon:SetToolTip(nil)
Lawyer_Icon.DoClick = function(btn)
	RunConsoleCommand("rp_unarrest".. player:Nick() ..":

" )
end

http://forum.facepunch.com/showthread.php?t=1251673

Oh Sorry, Im new on Facepunch

Post this issue in the Developer Discussion section.