mirror of
https://github.com/s1lentq/ReGameDLL_CS.git
synced 2024-12-27 07:05:38 +03:00
Fix work cvar bot_chatter "radio", zbots doesn't send radio command into chat.
Wrong ascii conversion.
This commit is contained in:
parent
3f5448da59
commit
247e93b4ff
@ -326,19 +326,19 @@ void CCSBot::SendRadioMessage(GameEventType event)
|
||||
|
||||
if (event > EVENT_START_RADIO_1 && event < EVENT_START_RADIO_2)
|
||||
{
|
||||
slot[0] = event - EVENT_START_RADIO_1;
|
||||
slot[0] = '0' + event - EVENT_START_RADIO_1;
|
||||
ClientCommand("radio1");
|
||||
//Radio1(this, event - EVENT_START_RADIO_3);
|
||||
//Radio1(this, event - EVENT_START_RADIO_1);
|
||||
}
|
||||
else if (event > EVENT_START_RADIO_2 && event < EVENT_START_RADIO_3)
|
||||
{
|
||||
slot[0] = event - EVENT_START_RADIO_2;
|
||||
slot[0] = '0' + event - EVENT_START_RADIO_2;
|
||||
ClientCommand("radio2");
|
||||
//Radio2(this, event - EVENT_START_RADIO_3);
|
||||
//Radio2(this, event - EVENT_START_RADIO_2);
|
||||
}
|
||||
else
|
||||
{
|
||||
slot[0] = event - EVENT_START_RADIO_3;
|
||||
slot[0] = '0' + event - EVENT_START_RADIO_3;
|
||||
ClientCommand("radio3");
|
||||
//Radio3(this, event - EVENT_START_RADIO_3);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user