gms_script_set_chat_verify
Usage: gms_script_set_chat_verify ( script_id )
Description
Sets the script that should be executed when sending a chat message.
The script should take 1 argument:
argument0: Contents of chat message
The script should return true if the chat message should be sent, or false if it shouldn't.
Example
//Sets script scr_sendchat to be executed when receiving chat messages.
gms_script_set_chat_verify(scr_sendchat)
Replies (3)
Last message on 20 Jul 2018
Im a little confused as to where to actually add a chat system.
jdev
on
20 Jul 2018, 13:08:22
A built-in chat system should be available in your game on the top half of the screen automatically.
This script is used to run code whenever a chat message is received by another client/user.
Size43
(Administrator)
on
20 Jul 2018, 13:07:17
If you just want to show the default chat box, you should use
gms_chat_bind_pos or one of the related gms_chat_bind_* scripts.