coop-deluxe / sm64coopdx

An official continuation of https://github.com/djoslin0/sm64ex-coop on sm64coopdx for the enhancements and progress it already has.
https://sm64coopdx.com
286 stars 41 forks source link

`HOOK_ON_NAMETAGS_RENDER` #213

Open EmeraldLoc opened 1 month ago

EmeraldLoc commented 1 month ago

Adds HOOK_ON_NAMETAGS_RENDER. Has the playerIndex as a parameter, with a string as a return value. If the string is empty, no tag is rendered, if there's no return value, or the return value is nil, it renders the name as normal. Returning a custom string renders that custom string instead of the player's name.