Yue Posted October 3, 2021 Share Posted October 3, 2021 CH={ value=nil, New=function(self) local this={} setmetatable(this,self) self.__index = self function this:Init() self.value = System:GetProperty("FS","true") end this:Init() return(this) end } h = CH:New() System:Print(h.value) --Return false. For some reason the System:GetProperty does not work. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.