Garry's Mod Wiki


  Entity:SetDTBool( number key, boolean bool )


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 bool on the entity's datatable.


1 number key
Goes from 0 to 31.
2 boolean bool
The boolean to write on the entity's metatable.