mirror of
https://github.com/APercy/airutils.git
synced 2025-04-30 08:41:41 -04:00
added support for max
This commit is contained in:
parent
ee45d68811
commit
2cd8cf833f
1 changed files with 1 additions and 1 deletions
2
init.lua
2
init.lua
|
@ -107,7 +107,7 @@ end
|
|||
function airutils.detect_player_api(player)
|
||||
local player_proterties = player:get_properties()
|
||||
local mesh = "character.b3d"
|
||||
if player_proterties.mesh == mesh then
|
||||
if player_proterties.mesh == mesh or player_proterties.mesh == "max.b3d" then
|
||||
local models = player_api.registered_models
|
||||
local character = models[mesh]
|
||||
if character then
|
||||
|
|
Loading…
Add table
Reference in a new issue