11 Commits

Author SHA1 Message Date
Linden
cc6aed591f chore: adjust links 2025-03-29 21:46:58 +11:00
Linden
fb2225e373 chore: add copyright notices to each file
Some people accidentally, mistakenly, and without any malicious intent forget to attribute code from this resource to its source. This change will hopefully assist people, so that they do not make that mistake again.
2025-03-18 18:46:09 +11:00
Linden
e61febf7de refactor(streaming): change error message and default timeout 2024-10-06 03:25:17 +11:00
Linden
133a9905b2 Revert "refactor(streamingRequest): wait 10 years for assets to load"
This reverts commit 03db59cce5.
This was sarcasm btw. I still hate you people.
2024-08-13 14:12:42 +10:00
Linden
03db59cce5 refactor(streamingRequest): wait 10 years for assets to load
Helps with issue #630 by waiting for assets to become available.

Enjoy the random side-effects this will lead to, like vehicles suddenly
loading 20 minutes after you requested the asset and then teleporting
you into them.

This is clearly the only solution.
2024-08-13 12:47:39 +10:00
Linden
9a2a911b2a fix(streamingRequest): remove @package annotation
Annoying warnings.
2024-05-19 14:37:31 +10:00
Linden
fb5bd87dc2 refactor(streaming): bump default timeout
There's no point trying to argue with people who rely on
faulty behaviour and race conditions.
2024-04-18 01:28:11 +10:00
Linden
97365df94f refactor(streamingRequest): mention unreleased assets
Since 90% of FiveM developers do not release unused assets,
many people are starting to complain when streaming fails.
2024-04-16 14:25:50 +10:00
Linden
1e30dd4c89 fix(streamingRequest): missing return value 2024-04-03 14:48:18 +11:00
Linden
1ab6d3dd00 fix(streamingRequest): missing asset name in error message 2024-04-02 17:02:46 +11:00
Linden
0f0c7a6591 refactor(streamingRequest): internal method for request functions
- TS package type inference for request functions.
- Type fix for Lua's waitFor callback.
- Lua request functions cannot return nil.
2024-03-31 16:15:44 +11:00