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 (0)

Last message on 25 Sep 2017