mirror of
https://github.com/APercy/automobiles_pck
synced 2025-08-25 22:26:24 +02:00
added support for max
This commit is contained in:
parent
882c10b159
commit
222a81b99e
@ -51,7 +51,7 @@ end
|
||||
function automobiles_lib.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…
Reference in New Issue
Block a user