Garry's Mod Wiki

Entity:SetDTInt

Entity:SetDTInt( number key, number integer )

Description

This is used internally - although you're able to use it you probably shouldn't.

This is called internally by the Entity:NetworkVar system, you can use this in cases where using NetworkVar is not possible.

Sets the specified integer on the entity's datatable.

Arguments

1 number key
Goes from 0 to 31.
2 number integer
The integer to write on the entity's datatable. This will be cast to a 32-bit signed integer internally.

Page Links


Special Pages


Wikis

?

Render Time: 27ms

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