• How to retrieve all values related to an entity
    1 replies, posted
Hi, I want to retrieve all values related to an entity. For example if an entity have: [code] entity.Owner = "Mafiatoss" entity.Light = 0 entity.Cute = 1 entity.Sexy = 1 [/code] Is there any way to retrieve all thoses values when I don't know their name ? I want to save all the values of an entity in a table so if the entity is removed and then I respawn it again I can paste all the values the entity had before it got removed.
[code] local tab = entity:GetTable() for k, v in pairs( tab ) do ... end [/code] Some of the values might not be yours, but other addon's values.
Sorry, you need to Log In to post a reply to this thread.