multitheftauto/mtasa-blue

New function `engineGetAllocatedModels`

Closed this issue · 0 comments

Is your feature request related to a problem? Please describe.

Implement engineGetAllocatedModels, which returns a list/table with the IDs of models currently allocated by the system, using the engineRequestModel function as a reference.

Describe the solution you'd like

table engineGetAllocatedModels([string elementtype])

Describe alternatives you've considered

No response

Additional context

  • The function should receive a list of model IDs and return only those that are allocated.
  • It may be useful for the function to also return additional information, such as status or customized messages for each model checked.
  • Examples of usage and expected behavior can be included in the documentation or comments for the function.

Security Policy

  • I have read and understood the Security Policy and this issue is not about a cheat or security vulnerability.