Buy Request Script for CS2D!
CS2D Script made by Bowlinghead.
Part of the "Buy Request" Script to emulate Valorants digital drop request system in CS2D
Uploaded on UnrealSoftware.de

Similiar to Valorant -> 
You can press F2 to request a gun from the mp_buymenu list.
All other players in your team see your request and can "drop" you by pressing F3 (they still have to pay for the gun though!)
It is designed to drop guns for your teammates easier and not to alter gameplay.

This script is designed for the normal bomb defusal mode.

-> If you use this script with V.I.Ps then you have to edit this script:
Is your V.I.P allowed to request/answer drops? 
Then you have to comment out the buyzone check in utils.lua line XXX and also make sure that mp_freezetime and mp_buytime match roughly, or else people can request drops outside of a buyzone
If your V.I.P. is NOT allowed to request drops then you technicaly dont have to do anything. He can open the menus but will always be warned with "player (vip) is not in buyzone".

You might still want to comment out the buyzone check, if there is no way of abusing my drop system (for example: if your mp_freezetime matches with your mp_buytime then players will always be in buyzone in buytime) for perfomance reasons.

This script uses the mp_buymenu text to display the buymenu. Please make sure to not add more than 9 items per group.
If your mp_buymenu is empty, it uses a custom buymenu string (which represents the normal buy menu "1,2,3,4,5,6|10,11|20,21,22,23,24|30,31,32,33,34,35,36,37,38,39|40|51,52,53,54,57,58,59" )


Features:
- Team sensitve, you cant drop the enemy team
- Reads the mp_buymenu, but sadly doesnt check for team exclusive guns (AK47 or M4A1s can be bought from both teams if included)
- Dropping gets disabled when the buytime ends