RegisterQueryFile
- Синтаксис
-
native QueryFileHook:RegisterQueryFile(const file[], const function[], const ResourceType:type, const hash = -1);
Переменная | Описание |
---|---|
file |
The file (Can contain a relative path to the file) |
function |
The forward to call |
type |
The request type, can be only RES_TYPE_EXISTS, RES_TYPE_MISSING or RES_TYPE_HASH_ANY |
hash |
Hash of file to request. |
- Описание
- Send request the file for the client to get hash
- Возвращает
- Returns a hook handle. Use UnRegisterQueryFile to remove the forward