parent
b9c52bc3f5
commit
f50e2d3f5d
@ -96,7 +96,7 @@ namespace chat
|
|||||||
const auto* format = reinterpret_cast<const char*>(0x140E25180_g);
|
const auto* format = reinterpret_cast<const char*>(0x140E25180_g);
|
||||||
const auto* message = utils::string::va(format, 'O', text.data());
|
const auto* message = utils::string::va(format, 'O', text.data());
|
||||||
|
|
||||||
game::SV_GameSendServerCommand(-1, game::SV_CMD_CAN_IGNORE_0, message);
|
game::SV_GameSendServerCommand(-1, game::SV_CMD_RELIABLE_0, message);
|
||||||
printf("Server: %s\n", text.data());
|
printf("Server: %s\n", text.data());
|
||||||
});
|
});
|
||||||
|
|
||||||
@ -121,7 +121,7 @@ namespace chat
|
|||||||
const auto* format = reinterpret_cast<const char*>(0x140E25180_g);
|
const auto* format = reinterpret_cast<const char*>(0x140E25180_g);
|
||||||
const auto* message = utils::string::va(format, 'O', text.data());
|
const auto* message = utils::string::va(format, 'O', text.data());
|
||||||
|
|
||||||
game::SV_GameSendServerCommand(client, game::SV_CMD_CAN_IGNORE_0, message);
|
game::SV_GameSendServerCommand(client, game::SV_CMD_RELIABLE_0, message);
|
||||||
printf("Server -> %i: %s\n", client, text.data());
|
printf("Server -> %i: %s\n", client, text.data());
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user