mono_v2_get_started icon indicating copy to clipboard operation
mono_v2_get_started copied to clipboard

Player's server natives invocation

Open Marky-S opened this issue 2 years ago • 1 comments

What happened?

Casting player.Handle to string type due natives implementations

Natives.SetPlayerModel(player.Handle.ToString(), Natives.GetHashKey("mp_m_freemode_01"));

Expected result

Don't cast Player.Handle to string

Reproduction steps

No need

Importancy

Slight inconvenience

Specific version

No response

Extra

Previously, Player.Handle was a string type, looks like its type was changed..

Marky-S avatar Oct 06 '23 14:10 Marky-S

Player.Handle return type was made equal to the client version for the shared library update. We'll have to add a separate getter for the string or CString version.

thorium-cfx avatar Oct 06 '23 16:10 thorium-cfx