fm_get_weaponbox_type
- Синтаксис
-
stock fm_get_weaponbox_type(entity) { static max_clients, max_entities; if (!max_clients) max_clients = global_get(glb_maxClients); if (!max_entities) max_entities = global_get(glb_maxEntities); for (new i = max_clients + 1; i < max_entities; ++i) { if (pev_valid(i) && entity == pev(i, pev_owner)) { new wname[32]; pev(i, pev_classname, wname, sizeof wname - 1); return get_weaponid(wname); } } return 0; }
Переменная | Описание |
---|---|
Нет агрументов |
- Описание
- This function has no description.