[Suggestion] EditClientMessage - Printable Version + open.mp forum (https://forum.open.mp) -- Forum: open.mp (https://forum.open.mp/forumdisplay.php?fid=40) --- Forum: Questions and Suggestions (https://forum.open.mp/forumdisplay.php?fid=42) --- Thread: [Suggestion] EditClientMessage (/showthread.php?tid=606) |
EditClientMessage - Dev86 - 2019-05-27 Code: EditClientMessage(messageid, color, string[]); would be a nice edition so we won't need to spam countdowns/percentages in chat. but should be similar to CreateObject texturing, like: [/code] new lol = SendClientMessage(playerid, -1, "hi"); EditClientMessage(lol, 0xFF0000FF, "hello"); RE: EditClientMessage - XeroX - 2019-05-27 Should use a textdraw or GameTextFor* functions instead of spamming the chat. RE: EditClientMessage - Jarnokai - 2019-05-27 (2019-05-27, 07:07 PM)XeroX Wrote: Should use a textdraw or GameTextFor* functions instead of spamming the chat. Point is to not have to spam the chat. I agree with the suggestion, let's keep in mind the mentioned example is just one of many uses (as the example, as mentioned, is just as fine with other functions) Think editable messages, either by admins or by yourself: Being able to fix typos without spamming the chat, admins "deleting" offensive messages sent by other players, repeatedly changing the text or color of a message to make it blink or otherwise attract attention (For important warnings or updates etc.) TL;DR: I support this suggestion RE: EditClientMessage - JustMichael - 2019-05-27 This doesn't make much sense to do really. The chat isn't designed nor should it be designed to alter it, it's not like Discord where you can edit a message on the fly. The chat is designed to serve the purpose of sending messages to the client, it wouldn't make sense to implement this sort of idea. This would also cause confusion about logs, as some servers I know rely on logs for evidence, and if it was possible to change this on the fly it would ruin it's credibility (just an example of it's use). This isn't a feature I would see people dying to have, and I wouldn't use it myself. You have textdraws which was previously mentioned which can do exactly this. RE: EditClientMessage - Banditul - 2019-05-27 Im pretty sure OP didnt meant the chat itself to be editable, only the SendClientMessage s from server so if he send a message on OnPlayerConnect with the message "You connected to the server", at OnPlayerSpawn he would edit that message with something like "You spawned" or something instead of sending 2 different messages Imo it has few use cases but overall is kinda useless RE: EditClientMessage - DTV - 2019-05-31 I think it'd be good to anti spam purposes (if I'm understanding this correctly, the function would be able to edit a client message BEFORE its sent out) where someone spams a server IP into the chat for advertisements or something to simply block certain words or phrases from being seen in the message. RE: EditClientMessage - manul694 - 2021-05-11 good idea RE: EditClientMessage - Pinch - 2021-05-11 (2019-05-27, 09:28 PM)Banditul Wrote: Im pretty sure OP didnt meant the chat itself to be editable, only the SendClientMessage s from server so if he send a message on OnPlayerConnect with the message "You connected to the server", at OnPlayerSpawn he would edit that message with something like "You spawned" or something instead of sending 2 different messages Most of the servers already use SendClientMessage to send formatted player messages TwT |