mirror of
https://github.com/Mr-X-GTA/YimMenu.git
synced 2025-06-18 15:17:23 +08:00
fix(ReceivedEvent): strcat instead of strcpy
This commit is contained in:
parent
a1739bcca4
commit
b12fa9ea63
@ -57,8 +57,8 @@ namespace big
|
||||
{
|
||||
char msg[64];
|
||||
strcpy(msg, "<C>");
|
||||
strcpy(msg, source_player->get_name());
|
||||
strcpy(msg, "</C> is spawning cash.");
|
||||
strcat(msg, source_player->get_name());
|
||||
strcat(msg, "</C> is spawning cash.");
|
||||
}
|
||||
|
||||
break;
|
||||
@ -69,8 +69,8 @@ namespace big
|
||||
{
|
||||
char msg[64];
|
||||
strcpy(msg, "Detected <C>");
|
||||
strcpy(msg, source_player->get_name());
|
||||
strcpy(msg, "</C> as cheating.");
|
||||
strcat(msg, source_player->get_name());
|
||||
strcat(msg, "</C> as cheating.");
|
||||
|
||||
notify::above_map(msg);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user