utils.game.isFreemodeModel¶
utils.game.isFreemodeModel(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 isFreemode = utils.game.isFreemodeModel('mp_m_freemode_01')
print(isFreemode) -- Returns true