Skip to content

Read-only Lua API for player profiles

spazzylemons requested to merge spazzylemons/RingRacers:profile-library into master

This adds read-only access to the player profiles. The profiles are provided as a global array named profiles, which is 0-indexed like the players array. To get the currently in-use profile, the currprofile global can be used to index the profiles array. All profile_t fields, except for secret_key and controls, can be read in Lua.

Merge request reports