fm_set_kvd
- Синтаксис
-
// based on Basic-Master's set_keyvalue, upgraded version accepts an optional classname (a bit more efficient if it is passed) stock fm_set_kvd(entity, const key[], const value[], const classname[] = "") { if (classname[0]) set_kvd(0, KV_ClassName, classname); else { new class[32]; pev(entity, pev_classname, class, sizeof class - 1); set_kvd(0, KV_ClassName, class); } set_kvd(0, KV_KeyName, key); set_kvd(0, KV_Value, value); set_kvd(0, KV_fHandled, 0); return dllfunc(DLLFunc_KeyValue, entity, 0); }
Переменная | Описание |
---|---|
Нет агрументов |
- Описание
- Custom functions