model

Fields:

Name
Type
Read Only
get_entity()
entity
*
get_name()
string
*
material_override(material)
fn
*
color_modulate(color)
fn
*
draw()
fn
*

Usage:

1
function on_modelrender(model)
2
if string.find(model:get_name(), "models/player") then
3
-- shit goes here
4
end
5
end
Copied!
Last modified 8mo ago
Copy link