Garry's Mod Wiki

Entity:SetVar

  Entity:SetVar( any key, any value )

Description

Allows to quickly set variable to entity's Entity:GetTable.

This will not network the variable to client(s). You want Entity:SetNWString and similar functions for that

Arguments

1 any key
Key of the value to set
2 any value
Value to set the variable to