How to get HWID in Lua/C#?

2.9k Views Asked by At

I'm working on a Anti Cheat for FiveM, and I would like to be able to exclude users by using their HWID, so is there a way to get a HWID in lua? If not, how could I be able to get the HWID in C#?

If possible, it would really help me if it was in lua, since I'm not good at C#.

Thanks, Ossie

1

There are 1 best solutions below

0
On

If you want to do this in lua try this native GetPlayerToken (GetPlayerToken native)