model

Fields:

NameTypeRead Only

get_entity()

*

get_name()

string

*

material_override(material)

fn

*

color_modulate(color)

fn

*

draw()

fn

*

Usage:

function on_modelrender(model)
    if string.find(model:get_name(), "models/player") then
        -- shit goes here
    end
end

Last updated