multitheftauto / mtasa-resources

This project maintains a list of up-to-date resources that come with Multi Theft Auto.
https://multitheftauto.com
MIT License
151 stars 149 forks source link

Fix #455 #458

Closed jlillis closed 7 months ago

jlillis commented 9 months ago

Fixes #455 by loading admin_definitions.lua in admin. Also cleans up the file to remove unused definitions.

Dark-Dragon commented 9 months ago

This pull request should probably also remove the following line: https://github.com/multitheftauto/mtasa-resources/blob/666246579c2ec596303614c3bebb6722e6674d67/%5Badmin%5D/admin/client/admin_client.lua#L13 (and maybe steal some of the other definitions from the nearby lines)