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

Page Links


Special Pages


Wikis

?

Render Time: 30ms

Session 0
DB GetPage 2
Generate Html 6
SaveChanges 8
Render Body 0
Render Sidebar 6