utils.game.isHumanModel¶
utils.game.isHumanModel(nameOrHash)
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