From d0c3063148d86f910c65c24b8e4359c46d8b69f1 Mon Sep 17 00:00:00 2001 From: Yimura Date: Wed, 13 Jan 2021 15:31:43 +0100 Subject: [PATCH] refactor(JoinMessage): Removed old join message feature --- .../src/features/looped/join_message.cpp | 28 ------------------- 1 file changed, 28 deletions(-) delete mode 100644 BigBaseV2/src/features/looped/join_message.cpp diff --git a/BigBaseV2/src/features/looped/join_message.cpp b/BigBaseV2/src/features/looped/join_message.cpp deleted file mode 100644 index eec249dc..00000000 --- a/BigBaseV2/src/features/looped/join_message.cpp +++ /dev/null @@ -1,28 +0,0 @@ -#include "features.hpp" -#include "pointers.hpp" - -namespace big -{ - void features::join_message() - { - bool bJoinMessage = g_settings.options["join_message"].get(); - - if (bJoinMessage) - { - for (uint8_t i = 0; i < 32; i++) - { - if (i == g_playerId) continue; - - if (ENTITY::DOES_ENTITY_EXIST(PLAYER::GET_PLAYER_PED_SCRIPT_INDEX(i)) && !NETWORK::NETWORK_IS_PLAYER_CONNECTED(i)) - { - char joinMsg[64]; - strcpy(joinMsg, ""); - strcat(joinMsg, g_pointers->m_get_player_name(i)); - strcat(joinMsg, " is joining."); - - features::notify::above_map(joinMsg); - } - } - } - } -} \ No newline at end of file