Skip to content

Using enums as values in 'ulx ent' does not work #145

@Timmy

Description

@Timmy

Steps to reproduce

Run ULX command:

ulx ent npc_citizen citizentype:CT_UNIQUE | model:models/odessa.mdl

Expected behavior

NPC spawns with Odessa model.

Actual behavior

NPC spawns with ERROR model.

Additional info

Named values are not resolved. Replacing CT_UNIQUE with its actual value makes the command work as expected:

ulx ent npc_citizen citizentype:4 | model:models/odessa.mdl

Version

ULib v2.63w
ULX v3.73w

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions