Posted: Mon Feb 07, 2022 5:23 am Post subject: Class
So i want to mix two classes (flags and etc.)
like this:
Code:
--CPhysical -> CVehicle
--[[
CPhysical = [
SetFlags = function
GetFlags = function
SetProofs = function
GetProofs = function
]
CVehicle = [
GetHealth = function
SetHealth = function
]
--]]
CVehicle:SetFlags(slot,bit) --Need to be accessed
P.S.: It didn't need to be mixed in one table,just mix two in one
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum