# esp

## Functions:

### push\_flag

`esp.push_flag(name: string, color: color, func: function)`

<table><thead><tr><th width="168">Name</th><th width="166">Type</th><th>Description</th></tr></thead><tbody><tr><td><strong>name</strong></td><td><strong><code>string</code></strong></td><td>Flag text</td></tr><tr><td><strong>color</strong></td><td><strong><code>color</code></strong></td><td>Flag color</td></tr><tr><td><strong>func</strong></td><td><strong><code>function</code></strong></td><td>Function that will be called for each entity while drawing the ESP</td></tr></tbody></table>

```lua
esp.push_flag("Flag name", color(255, 255, 255, 255), function(player)
    cheat.notify(player:get_name())

    --- [true] - so that the flag is displayed
    --- [false] - so that the flag is not displayed
    return true
end)
```
