Garry's Mod Wiki

Garry's Mod Wiki

  number Entity:GetCreationID()

Description

Returns entity's creation ID. Unlike Entity:EntIndex or Entity:MapCreationID.

It will increase up until value of 10 000 000, at which point it will reset back to 0.

This returns 0 for clientside only entities, such as class CLuaEffect.

Returns

1 number
The creation ID

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated four times a day. Edits and history are not available.

Last Parsed: Loading...