forked from Simnation/Main
ed
This commit is contained in:
parent
cf533de903
commit
ed382892bd
273 changed files with 0 additions and 0 deletions
10
resources/[tools]/cfx_prompt_sandy_mapdata/client.js
Normal file
10
resources/[tools]/cfx_prompt_sandy_mapdata/client.js
Normal file
|
@ -0,0 +1,10 @@
|
|||
const resourceName = GetCurrentResourceName();
|
||||
|
||||
emitNet('requestVertexHubResources/cfx_prompt_sandy_mapdata');
|
||||
|
||||
onNet('registerVertexHubResources/cfx_prompt_sandy_mapdata', (resourcesDto) => {
|
||||
const resources = JSON.parse(resourcesDto);
|
||||
for (const { fileName, cacheString } of resources) {
|
||||
RegisterStreamingFileFromCache(resourceName, fileName, cacheString);
|
||||
}
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue