Garry's Mod Wiki

Entity:SetVar

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

Special Pages


Wikis

?

Render Time: 19ms

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