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
This documentation was automatically generated using pawn-docgen made by xPaw for AlliedMods.