Closed Frouk3 closed 2 years ago
Hey and thanks for trying out diepAPI.
What you are trying to do is not impossible.
You can find the color of a player in the extras
property.
For example this will show you your own team color:
diepAPI v2.1.1
window.diepAPI.entityManager.getPlayer().extras.color
You can find all team colors here https://github.com/Cazka/diepAPI/blob/bc4a4aed6d8dae237cdea1892773394589429546/src/entity.ts#L17
It seems that there's no Player team color, i wanted to make aimbot but i think that's impossible to do