Check if File Exists in Client Files: citizen:/common/data/ai

The use of AI Files is a big Problem in Fivem Right now. Users can modify their Files. They can use with these files things like Rapid fire, More Damage, Higher Magsize. Some of these Methods you can Detect with GetMaxAmmoInClip or GetWeaponDamage. But I wondered and researched for a couple of Hours and found that you can use os.rename to check if a file/directory exists, but you can’t use os. in General in the Client Code. Does anybody have any Ideas? PS: I Found a way to get the current Scripting Directory, but it doesn’t help if you can’t check it xD

1 Like