# sam.Player.set\_nwvar

> #### sam.Player.set\_nwvar( [player](https://wiki.facepunch.com/gmod/player) ply,  [**any**](https://wiki.facepunch.com/gmod/any) **key,** [**any**](https://wiki.facepunch.com/gmod/any) **value** )

## Description

Set a networked var on a player.

## Aguments

1. #### [player](https://wiki.facepunch.com/gmod/player) ply
2. #### [**any**](https://wiki.facepunch.com/gmod/any) **key**
