diff --git a/BigBaseV2/src/hooks/received_event.cpp b/BigBaseV2/src/hooks/received_event.cpp index 93317dcf..0ddee1b7 100644 --- a/BigBaseV2/src/hooks/received_event.cpp +++ b/BigBaseV2/src/hooks/received_event.cpp @@ -57,8 +57,8 @@ namespace big { char msg[64]; strcpy(msg, ""); - strcpy(msg, source_player->get_name()); - strcpy(msg, " is spawning cash."); + strcat(msg, source_player->get_name()); + strcat(msg, " is spawning cash."); } break; @@ -69,8 +69,8 @@ namespace big { char msg[64]; strcpy(msg, "Detected "); - strcpy(msg, source_player->get_name()); - strcpy(msg, " as cheating."); + strcat(msg, source_player->get_name()); + strcat(msg, " as cheating."); notify::above_map(msg);