local groupPin = g_mapPinManager:CreatePin(isLeader and MAP_PIN_TYPE_GROUP_LEADER or MAP_PIN_TYPE_GROUP, tagData)
if groupPin then
g_activeGroupPins[groupTag] = groupPin
local x, y = GetMapPlayerPosition(groupTag)
groupPin:SetLocation(x, y)
end
Then :
Replace ProvTF.UI.Player[index] to : ProvTF.UI.Pin[pinid]
Then :
Replace
ProvTF.UI.Player[index]
to :ProvTF.UI.Pin[pinid]