altmp / coreclr-module

CoreClr (.NET Core Common Language Runtime) community made module
MIT License
15 stars 7 forks source link

Spawn Overload, which sets the model and spawns the player #19

Closed ThePawlow closed 2 months ago

ThePawlow commented 3 months ago

The JS API already has this, I would love to have something like this for C# too. Referring to https://docs.altv.mp/js/api/alt-server.Player.html#_altmp_altv_types_alt_server_Player_spawn_2

Being able to do something like this player.Spawn(PedModel.FreemodeFemale01, new Position(0,0,72));

ThePawlow commented 2 months ago

!Close Merged