🟦GetBuild

𝗦𝗛𝗔𝗥𝗘𝗗

pl:GetBuild( )

▸ Parameters

None

▸ Description

Returns player's build state true : player in build mode false : player in pvp mode

▸ Example

local function check_build( pl )

    local bBuild = pl:GetBuild( )
    
    if bBuild then
        print( 'player in build mode' )
    else
        print( 'player in pvp mode' )
    end
    
end

Last updated