cs2-retakes-allocator icon indicating copy to clipboard operation
cs2-retakes-allocator copied to clipboard

Weapon menu file

Open BKOKAN opened this issue 10 months ago • 2 comments

I wish to edit the menu so the players can choose from some of the weapons. Example pistols for ct usp,p2000, five seven and deagle. Does the file exist or its hard coded?

BKOKAN avatar Jan 19 '25 18:01 BKOKAN

I was searching and read documentation but didnt see anything like that.

BKOKAN avatar Jan 19 '25 18:01 BKOKAN

The weapons the plugin is aware of are hardcoded here: https://github.com/yonilerner/cs2-retakes-allocator/blob/main/RetakesAllocatorCore/WeaponHelpers.cs

The weapons currently allowed are in the config file: https://github.com/yonilerner/cs2-retakes-allocator/blob/main/RetakesAllocatorCore/Config/Configs.cs#L137

yonilerner avatar Mar 01 '25 03:03 yonilerner