Tracer

Results 178 comments of Tracer

> > what about [`getPedTask`](https://wiki.multitheftauto.com/wiki/GetPedTask)? > > `getPedTask` is indeed a useful function for determining the current task a player is performing. However, it has limitations when compared to a...

> Very nice. Can you add an argument "resource element" so you can get file list of another resource, which would work if it is running? > Already did ;)

> Does it return shared scripts twice here? Is it expected behavior? > > ```lua > local list = getResourceFiles("all") > ``` Yeah, it returns twice. Its not expected behaviour....

> > @TracerDS it would be nice to have a way to know if a file has download="false" attribute, so it can be downloaded using downloadFile later Currently the only...

> It's a matter of returning that download attribute value for each file. The array of file names returned by this new function should contain arrays where you have like...

> True, but what parameter exactly? Something like isDownloaded or something like that. Or maybe it will receive a table of flags if more param were to come

Im not interested in advancing this PR further anymore. If someone wants to refresh it, feel free to do so.

Im not interested in advancing this PR further anymore. If someone wants to refresh it, feel free to do so.

> Read #891 We need to fix that issue. For some reason the cursor is being managed by a resource and not game itself which is ridiculous. [Client\mods\deathmatch\logic\CResource.cpp](https://github.com/multitheftauto/mtasa-blue/blob/master/Client/mods/deathmatch/logic/CResource.cpp#L398-L421)

> It's not a bug. Current behavior prevents additional cursor managment in scripts. You can use `showCursor` without thinking about other resources. Global behavior adds much pain for scripters. >...