I need help with the chat
Hello everyone! And Size43 for your help in my previous question. First, look my code:
if (!room=room_menu or !room=room_charsel and global.displayChat = 0) {
gms_chat_draw()
gms_chat_colors(c_white,c_dkgray,0.35)
gms_chat_toggle(0)
gms_chat_bind_view(0,cp_bottom,80)
gms_chat_set_font(ft_type)
}
The problem is when I execute my game, the chat not appears in the room, I have an error in my code? I already read all help about the chat functions, and the error is persistent... Thanks for your time for help me in my question...
Replies (4)
Last message on 4 Mar 2016
Size43
(Administrator)
on
3 Mar 2016, 09:51:55
By calling
gms_chat_toggle(0)
you're disabling the chat. You'll need to call
gms_chat_toggle(true)
instead to enable the chat.
Freeko
(Topicstarter)
on
4 Mar 2016, 01:06:04
I have another problem, when I press "enter" to open the chat box, nothing happens. If you can help me, thanks.
Size43
(Administrator)
on
4 Mar 2016, 13:55:24
Freeko
(Topicstarter)
on
3 Mar 2016, 20:56:46
Oh, ok, thanks! I thought that "0" means "true" but is wrong.