server-beta icon indicating copy to clipboard operation
server-beta copied to clipboard

Player Typing Indicator

Open siwode1 opened this issue 5 months ago • 3 comments

Is your feature request related to a problem? Please describe. Yes, this issue relates to the visibility of communication between players. In the current game, when a player is typing to communicate, other players have no way of knowing their status. This often leads to situations during team cooperation or multiplayer interactions where one player may be typing important information, while others remain unaware and continue acting—resulting in miscommunication, misunderstandings, and reduced cooperation efficiency and immersion.

Describe the solution you'd like I would like to implement a feature where when a player presses the T key to open the chat input box, a visual indicator or text prompt (e.g., [...] or Typing...) immediately appears above the character's head.

Trigger Condition: Detects when a player presses the T key (to open the chat box).

Display Effect: A status prompt appears above the corresponding player’s head (near the NameTag).

End Condition: The prompt disappears immediately after the player sends the message or closes the chat box (i.e., when the input state ends).

This way, nearby players can easily see who is about to send a message and may choose to pause and wait, greatly improving the team cooperation experience.

Describe alternatives you've considered Voice Chat: While voice communication is real-time, not all players can or prefer to use it. Moreover, text chat is more precise in certain situations (e.g., when details need to be recorded or for cross-language communication).

Additional context This feature is inspired by functionality commonly seen in FiveM role-playing servers, where immersive communication indicators significantly enhance collaborative storytelling and social interactions. The ability to see when another player is typing helps maintain natural conversation flow and improves role-play quality by providing visual cues similar to real-life communication.

siwode1 avatar Aug 27 '25 11:08 siwode1

This feature request can't be implemented with the current SA-MP limitations. The fundamental issue is that no RPC is sent to the server when a player opens the chatbox, only when they actually send a message. When you press 'T' to open the chat input, that's handled entirely client-side. The server has zero knowledge that you've opened your chatbox, started typing, or even cancelled without sending anything. It only receives the ChatMessage RPC (ID: 101) when you hit Enter and actually send text.

TLDR - To implement this feature, open.mp would need a client.

itsneufox avatar Aug 27 '25 12:08 itsneufox

Thanks for the explanation! That makes total sense now with the RPC limitation. I appreciate the clarity and hope this can be revisited if open.mp makes it possible in the future.

siwode1 avatar Aug 27 '25 16:08 siwode1

This feature request can't be implemented with the current SA-MP limitations. The fundamental issue is that no RPC is sent to the server when a player opens the chatbox, only when they actually send a message. When you press 'T' to open the chat input, that's handled entirely client-side. The server has zero knowledge that you've opened your chatbox, started typing, or even cancelled without sending anything. It only receives the ChatMessage RPC (ID: 101) when you hit Enter and actually send text.

TLDR - To implement this feature, open.mp would need a client.

The idea was releasing a open.mp client. Am I wrong?

sicariodll avatar Oct 06 '25 15:10 sicariodll