Identifying sub-processes that run on FiveM process

Client scripts are sandboxed so it’s not possible to detect processes (would be really bad), you could however look into other ways to create an anticheat/secure your server

https://cookbook.fivem.net/2019/08/19/onesync-intercepting-game-events-such-as-explosions/