Entity/SetDTInt

From Garry's Mod
Jump to: navigation, search
 Entity:SetDTInt( )

Description

This is an internal function or feature.
This means you will be able to use it, but you really 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

number key

Goes from 0 to 31.

Arguments

number integer

The integer to write on the entity's datatable. This will be cast to a 32-bit signed integer internally.
Personal tools
Navigation