update doc/*/scripting/ecs.md

This commit is contained in:
MihailRis 2026-07-18 19:46:21 +03:00
parent e4a11f182e
commit b99be08e88
2 changed files with 11 additions and 0 deletions

View file

@ -265,3 +265,8 @@ function on_used(playerid: int)
Вызывается при использовании сущности (ПКМ по сущности). ID игрока передается в качестве аргумента.
```lua
function on_player_set(playerid: int)
```
Вызывается при прикреплении сущности к игроку.