You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[PlayerProperty.RelativeY]=newInfo<NumberValue>(plr =>(decimal)plr.RelativeRoomPosition().y,"Returns the player's y relative to the current room or 0 if in no room"),
203
215
[PlayerProperty.RelativeZ]=newInfo<NumberValue>(plr =>(decimal)plr.RelativeRoomPosition().z,"Returns the player's z relative to the current room or 0 if in no room"),
204
216
[PlayerProperty.IsNpc]=newInfo<BoolValue>(plr =>plr.IsNpc,"True if it's a player without any client connected to it"),
[PlayerProperty.Stamina]=newInfo<NumberValue>(plr =>(decimal)plr.StaminaRemaining,"Returns the player's remaining stamina."),
223
+
[PlayerProperty.MovementState]=newInfo<TextValue>(plr =>plr.RoleBaseisIFpcRolecurrentRole?currentRole.FpcModule.CurrentMovementState.ToString().ToStaticTextValue():new("None"),"Returns the player's movement state or 'None' if the player is not a first-person role."),
224
+
[PlayerProperty.RoleColor]=newInfo<StaticTextValue>(plr =>plr.RoleBase.RoleColor.ToHex().ToStaticTextValue(),"Returns the hex value of the player's role color."),
[PlayerProperty.Unit]=newInfo<TextValue>(plr =>NamingRulesManager.ClientFetchReceived(plr.Team,plr.UnitId).ToStaticTextValue(),"Returns the player's unit (e.g FOXTROT-03) if player is NTF or Facility Guard, otherwise returns an empty text value."),
0 commit comments