We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 151bed1 commit 5a74a1bCopy full SHA for 5a74a1b
1 file changed
EXILED/Exiled.API/Features/Roles/FpcRole.cs
@@ -67,6 +67,15 @@ public RelativePosition ClientRelativePosition
67
set => FirstPersonController.FpcModule.Motor.ReceivedPosition = value;
68
}
69
70
+ /// <summary>
71
+ /// Gets or sets the <see cref="CharacterModel"/> associated with the player.
72
+ /// </summary>
73
+ public CharacterModel Model
74
+ {
75
+ get => FirstPersonController.FpcModule.CharacterModelInstance;
76
+ set => FirstPersonController.FpcModule.CharacterModelInstance = value;
77
+ }
78
+
79
/// <summary>
80
/// Gets or sets the player's gravity.
81
/// </summary>
@@ -305,4 +314,4 @@ public void ResetStamina(bool multipliers = false)
305
314
StaminaRegenMultiplier = 1f;
306
315
307
316
308
-}
317
+}
0 commit comments