Hey I'm encountering two major formatting errors while using LuaFormatter in the CfxLua environment:
Tildes are being removed.
The tildes are removed during formatting, resulting in transformation them into variable.
`prop_name` -> prop_name
Safe Navigation operators are being removed.
The safe navigation operators (?) are being removed during formatting, altering the code's functionality.
User?.Weapon?.Ammo -> User.Weapon.Ammo
If you want to find more info about usage of this 2 look here CFXLua README
Search for:
Hey I'm encountering two major formatting errors while using LuaFormatter in the CfxLua environment:
Tildes are being removed. The tildes are removed during formatting, resulting in transformation them into variable.
`prop_name` -> prop_name
Safe Navigation operators are being removed. The safe navigation operators (?) are being removed during formatting, altering the code's functionality.
User?.Weapon?.Ammo -> User.Weapon.Ammo
If you want to find more info about usage of this 2 look here CFXLua README Search for: