Help with NPC weapon

if self.IsNPC( ) then
SWEP.Base = “weapon_cs_base”
end

self.IsNPC( )
does not seem To work at all.
what do i use instead?

self.Owner:IsNPC()

And you can’t change SWEP base like that.

You positive? No way at all?