luttje / glua-api-snippets

Scrapes the Garry's Mod Wiki in order to build Lua Language Server comments that will provide IDE suggestions and autocompletion.
MIT License
15 stars 5 forks source link

return a table of Player not of any #53

Closed Zekirax closed 1 month ago

luttje commented 1 month ago

Hey there. Thanks a bunch for your contribution, I really appreciate you wanting to help!

Sadly this branch you are merging into is generated automatically from the official wiki using scripts in the main branch. So any changes made to this branch manually will be overwritten the next time the library is updated.

We do this so the lua definitions from this project are kept up-to-date with the wiki.

In order to change this return type there is currently only 1 of two options:

  1. Update the wiki to include the information (this is not available because as far as I can tell there's no way to type array elements in the Wiki Markup Syntax)
  2. Creating an override in the ./custom directory

I'll close this PR, but I've taken your PR as a suggestion and made a note of it in #47

Thanks again for your intention to help!