altv-issues
altv-issues copied to clipboard
DrawMarker native call crash after v15 update in release branch
Description of the problem
In C# client the drawMarker native call causes crash since v15. The following code worked before v15.
Reproduction steps
using AltV.Net.Client;
namespace alt_test_client
{
internal class Main : Resource
{
public override void OnStart()
{ }
public override void OnStop()
{ }
public override void OnTick()
{
Alt.Natives.DrawMarker(
(int)0,
(float)0, (float)0, (float)300,
(float)0, (float)0, (float)0,
(float)0, (float)0, (float)0,
(float)1, (float)1, (float)1,
(int)255, (int)255, (int)255, (int)50,
(bool)false, (bool)true, (int)2, (bool)false, null, null, (bool)false
);
}
}
}
Expected behaviour
Draws a marker at 0 0 300 position.
Additional context
No response
Operating system
Windows 11
Version
15.0.10
Crashdump ID
No response
Confirmation of issue's presence
- [X] By submitting this ticket, I affirm that I have verified the presence of this issue on the latest developer version available at the time of writing this ticket.
@Doxoh or @zziger can you test that?
I have same issue. Any updates for fix?