Get weapon owner + TTT Setrole

Does [lua] ply = self.GetOwner() [/lua] exist?
As well as [lua] ply.SetRole(ROLE_INNOCENT) [/lua] for example?

local ply = self.Owner when you’re in the SWEP realm.
ply:SetRole( ROLE_INNOCENT ) if I recall correctly for changing their role in TTT.

local ply = self.Owner() returns this errors:

 [ERROR] shared.lua:58: attempt to index global 'self' (a nil value)
  1. unknown - addons/inno maker gun/lua/weapons/weapon_ttt_inno/shared.lua:58

There’s no parenthesis for self.Owner.