Talk:RBX.lua.DataModel (Service)
From Legacy Roblox Wiki
Jump to navigationJump to search
Little hidden function I found, it is :Load(). I have NO idea on how to use it yet. XD --Toxsikkilla 11:51, 8 July 2008 (CDT)
This is a Singleton, not a service
It should not be treated as a service. You can't get it from game::GetService because DataModel is game. --Blocco 16:26, 25 April 2010 (UTC)
- I disagree. Game is just a special service that you don't use GetService on. Actually you can do Game:GetService("Game") and Game:GetService("DataModel") they return nil but don't error like invalid service names. (Note that JointsService does the same thing - Is this a bug?) --GoldenUrg 20:26, 25 April 2010 (UTC)
- It is a service, it's just not a service that is created from the Lua system. From my understanding it's created by the client backend first, then the Lua system is invoked underneath it. Or something. Point still stands, it operates as a service. ---Mr Doom Bringer 01:00, 27 April 2010 (UTC)
- Alright. That works. --Blocco 01:06, 27 April 2010 (UTC)
- It is a service, it's just not a service that is created from the Lua system. From my understanding it's created by the client backend first, then the Lua system is invoked underneath it. Or something. Point still stands, it operates as a service. ---Mr Doom Bringer 01:00, 27 April 2010 (UTC)
Genre
It's missing DataModel.Genre. How do you add new properties?--PurpleKiwi 21:25, 8 July 2011 (UTC)
- Here: [Properties page] You just add /Properties. I added it to the list.Trappingnoobs (Writer)
- Thanks!--PurpleKiwi 21:29, 8 July 2011 (UTC)