Skip to content

utils.game.isHumanModel

utils.game.isHumanModel(nameOrHash)
This function sets if model is a human.

Arguments

Argument Data Type Optional Default Value Explanation
nameOrHash string/int No - Sets model name or hash

Note

You can see all models here <Link not create yet>.

Dependency

local utils = M("utils")

Example

local isHuman = utils.game.isHumanModel('u_m_y_abner')

print(isHuman) -- Returns true

Improve this documentation