Garry's Mod Wiki


Entity:SetDTInt( number key, number integer )


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.


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



Render Time: 34ms

DB GetPage 6
Generate Html 4
SaveChanges (1) 10
Render Body 0
Render Sidebar 12