Update SetIkTarget
Add a lot of info to the docs of SetIkTarget If anyone wants to add js and c# examples, feel free to comment it down below and I'll add it I will not add more commits to this PR (unless something needs fixing)
Most of the credit goes to @kypos on discord
For the js example it's
SetIkTarget(PlayerPedId(), 4, 0, 0, -1849.0, -1231.0, 13.0, 0, 0, 10000);
and c# it's
using static CitizenFX.Core.Native.API;
// ...
SetIkTarget(PlayerPedId(), 4, 0, 0, -1849.0f, -1231.0f, 13.0f, 0, 0, 10000);
For the js example it's
SetIkTarget(PlayerPedId(), 4, 0, 0, -1849.0, -1231.0, 13.0, 0, 0, 10000);and c# it's
using static CitizenFX.Core.Native.API; // ... SetIkTarget(PlayerPedId(), 4, 0, 0, -1849.0, -1231.0, 13.0, 0, 0, 10000);
C# example needs to annotate its float values -1849.0f
Also not sure on the preferred way to do enums is, most use enum eCamelCase and its enum variables are UpperCamelCase (though this varies from native to native, making it hard to tell what should be done)
Also not sure on the preferred way to do enums is, most use
enum eCamelCaseand its enum variables areUpperCamelCase(though this varies from native to native, making it hard to tell what should be done)
Mostly the former, eCamelCase that is.