Usage: gms_script_set_drawchat ( script )


Sets the script that will be executed when drawing a chat message. The script should accept 8 arguments:

x, y, username, userid, message, width, yscale, color.

The script needs to draw text that is equivalent to the following function:

draw_text_ext_transformed(x, y, username + ": " + message, -1, width, 1, yscale, 0);

The font should not be changed while this script is called.

This script can be used to, for example, change the color of certain users in the chat.

Replies (0)

Last message on 22 Oct 2021