Have RCON return what weapons/items the player has
It would be great if I could get the information about what weapons and items a player has in their possession via an RCON command. As we sometimes like to spawn in items on a custom server for specific maps (think laser attachments or flashlights on specific dark maps), I dont want to spawn an item in if they already have them. After a couple rounds of SND their entire chest if full of those attachments.
Ideally, RCON would return a list that includes all items, including those attachments already attached to a gun or that are placed on the chest.
[ "AR", "Laser_Rifle", "grenade", "grenade", "armour", "kevlarhelmet"]
Comments: 4
-
18 Apr, '21
SpiikesanHi,
You can workaround this by getting the players status and check for their death count in their K/D/A.
If they died, you give them all wanted weapons/accessories.
BUT this would be a nice-to-have tho. -
26 Apr, '21
SimonSpiikesan, although I appreciatie your comment, there are situations where their death count is not accurate* or something you want to keep state on continuously.
* For example when being revived with a syringe -
11 Jun, '21
SimonPerhaps this can be added to the response of the existing InspectPlayer RCON command.
-
13 Sep, '21
TriplerIt would be nice to know what weapons a player has, and what they are holding in their hands.
In particular, it would be nice to know what they were using in the killfeed. It allows to compute how well someone does with a weapon.
Right now, I can tell what kills they have, but not how many deaths with a particular weapon.