Garry's Mod Wiki

Entity:SetNetworkedInt

Entity:SetNetworkedInt

Entity:SetNetworkedInt( string key, number value = 0 )

Description

We advise against using this. It may be changed or removed in a future update. You should use Entity:SetNWInt instead.

Sets a networked integer value at specified index on the entity.

The value then can be accessed with Entity:GetNetworkedInt both from client and server.

Running this function clientside will only set it clientside for the client it is called on.

Arguments

1 string key
The key to associate the value with
2 number value = 0
The value to set

Special Pages


Wikis

?

Render Time: 43ms

DB GetPage 24
Generate Html 3
SaveChanges (1) 6
Render Body 0
Render Sidebar 6