For some reason, the chat is enabled but i can't write on it....
I don't know if it is a bug or i've wrotten something wrong at the codes.
But well, here is the code:
gms_chat_toggle(true);
gms_chat_bind_view(view_current,100,70);
gms_chat_set_font(global.main_font);
gms_chat_colors(c_white,c_green,0.50);
gms_chat_local("Press T to Chat", c_white);
gms_chat_keys(ord("T"),vk_enter,ord("Y"));
Replies (4)
Last message on 21 Apr 2020
i think it didn't work :\
the error text says:
___________________________________________
ERROR in
action number 3
of Create Event
for object object_player_online:
Error in code at line 3:
gms_chat_set_font(global.main_font);
^
at position 27: Unknown variable main_font
Size43
(Administrator)
on
21 Apr 2020, 10:25:57
Where did you get that code from? If you do not have a global variable main_font it will not work.