Garry's Mod Wiki

Revision Difference

Entity:GetCreationID#551040

<function name="GetCreationID" parent="Entity" type="classfunc"> <description>Returns entity's creation ID. Unlike <page>Entity:EntIndex</page> or <page>Entity:MapCreationID</page>. It will increase up until value of `10 000 000`, at which point it will reset back to `0`.</description> <realm>Server</realm>⤶ <realm>Shared</realm>⤶ <rets> <ret name="" type="number">The creation ID</ret> </rets> </function>