View Single Post
Re: help - radio emulation
Old
  (#12)
commonbullet
Member
 
commonbullet's Avatar
 
Status: Offline
Posts: 49
Join Date: Nov 2004
Default Re: help - radio emulation - 26-10-2005

maybe I'm wrong, but I guess podbots fake the radio-menus instead of writing the radio messages. From bot.cpp:

Code:
if (pBot->iRadioSelect < 10)
FakeClientCommand (pBot->pEdict, "radio1;menuselect %d\n", pBot->iRadioSelect);
else if (pBot->iRadioSelect < 20)
FakeClientCommand (pBot->pEdict, "radio2;menuselect %d\n", pBot->iRadioSelect - 10);
else
FakeClientCommand (pBot->pEdict, "radio3;menuselect %d\n", pBot->iRadioSelect - 20);
I guess it would work in amx, but i was trying to make the messages more customizable (sounds, etc).
I'd forgotten the other part: podbots don't answer to csbots.

Last edited by commonbullet; 26-10-2005 at 07:32..
  
Reply With Quote