NullEnt1ty / gmod-wiki-scraper

Extract GLua API documentation from the new Garry's Mod wiki
https://www.npmjs.com/package/gmod-wiki-scraper
MIT License
9 stars 1 forks source link

Add parent for Players, Weapons, NPCs and Vehicles #6

Open NullEnt1ty opened 4 years ago

NullEnt1ty commented 4 years ago

Entity methods can be used on players, weapons, NPCs and vehicles. Unfortunately, the <type> element does not contain a parent attribute, so this has to be handled manually in the code.

Example: https://wiki.facepunch.com/gmod/Player