levels-ranks-core
levels-ranks-core copied to clipboard
Move hardcoded values to config
At this moment, LR use hard-coded array for menu for removing/adding player points.
https://github.com/levelsranks/levels-ranks-core/blob/b4cc529ca68d8c4d8741ce66a25f5dc6fda6426b/Game%20Server/addons/sourcemod/scripting/levels_ranks/menus.sp#L189-L194
I suggest move this array to configuration. Create file with name like addons/sourcemod/configs/levels_ranks/menu_points.ini, and fill with content like:
-1000
-100
-10
10
100
1000
Without KeyValues, because this is simple to read with File methodmap.