Garry's Mod Wiki

Revision Difference

Entity:SetNetworkedBool#514495

<function name="SetNetworkedBool" parent="Entity" type="classfunc">⤶ <description>⤶ <deprecated>You should use <page>Entity:SetNWBool</page> instead.</deprecated>⤶ ⤶ Sets a networked boolean value at specified index on the entity.⤶ ⤶ The value then can be accessed with <page>Entity:GetNetworkedBool</page> both from client and server.⤶ ⤶ <note>Running this function clientside will only set it clientside for the client it is called on.</note>⤶ </description>⤶ <realm>Shared</realm>⤶ <args>⤶ <arg name="key" type="string">The key to associate the value with</arg>⤶ <arg name="value" type="boolean" default="false">The value to set</arg>⤶ </args>⤶ </function>⤶ ⤶