Setting NWBool

How would i set another players NWBool within SWEP:PrimaryAttack()

**[Entity.SetNetworkedBool

http://wiki.garrysmod.com/favicon.ico](http://wiki.garrysmod.com/?title=Entity.SetNetworkedBool)**

?

[editline]11:30AM[/editline]

If you want to change a NWBool on the person that you shoot at you can do something like this:

[lua]local trace = self.Owner:GetEyeTrace();
if trace.Hit and ValidEntity(trace.Entity) and trace.Entity:IsPlayer() then
trace.Entity:SetNWBool(“name”, false)
end[/lua]

Haha thanks a bunch MakeR.