Tells others that we are cheating
| 1537 | |
| 1538 | // Tells others that we are cheating |
| 1539 | void SendCheaterText() { |
| 1540 | // Notify other players that you're using debug/test keys. We may want to change this to |
| 1541 | // only send the message for some keys. |
| 1542 | if (Game_mode & GM_MULTI) { |
| 1543 | char str[255]; |
| 1544 | snprintf(str, sizeof(str), TXT_CHEATER, Players[Player_num].callsign); |
| 1545 | |
| 1546 | if (Netgame.local_role == LR_SERVER) |
| 1547 | MultiSendMessageFromServer(GR_RGB(255, 0, 0), str); |
| 1548 | else |
| 1549 | MultiSendMessageToServer(0, str); |
| 1550 | } |
| 1551 | } |
| 1552 | |
| 1553 | #include "osiris_dll.h" |
| 1554 | #include "audiotaunts.h" |
no test coverage detected