Dani4Web
Dani4Web
It throws an error because you are calling it incorrectly. print(pcall(NetworkGetNetworkIdFromEntity(1))) Written like this, NetworkGetNetworkIdFromEntity(1) is executed before the pcall call. Then pcall receives its return value and tries to...
Hi. You can check whether all resources have started as follows: ```js function areAllResourceLoaded() { for (let i = 0; i < GetNumResources(); ++i) { const resName = GetResourceByFindIndex(i); const...
Hi, it's designed to work like that. If a resource sets NUI focus, then it has to remove it itself.