I am trying to create a code that sends a message to all players on my server. I have created this code:
(try_for_players, ":player_no", 1),
(player_is_active, ":player_no"),
(multiplayer_send_string_to_player, ":player_no", multiplayer_event_return_admin_chat, "@test message"),
This appears to work fine, other than that it only seems to send the message to one player. Does anyone know what I have done wrong, or need to do to get a message to be sent to all the players in the server?
Thanks.
(try_for_players, ":player_no", 1),
(player_is_active, ":player_no"),
(multiplayer_send_string_to_player, ":player_no", multiplayer_event_return_admin_chat, "@test message"),
This appears to work fine, other than that it only seems to send the message to one player. Does anyone know what I have done wrong, or need to do to get a message to be sent to all the players in the server?
Thanks.