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: 82ms

DB GetPage 49
Generate Html 4
SaveChanges (1) 20
Render Body 0
Render Sidebar 7