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

Which one is the most relevant message event for the radio? (I mean, the one that bots would interpret as someone sending radio message.)
SendAudio? TextMsg? Both?
I don’t know if it has something to do with that - I’m able to send those amx ‘fake messages’ when I’m dead, so maybe they’re not reliable enough for the bots…
Thank you.

Ps.
Just made a test and verified that the radio messages are displayed to both teams (terrorists and cts). I’ve seen no way to limit the message scope except by the destinations constants, but I don’t know how to use it.

Here’s the list from amxmod manual.

Quote:
MSG_BROADCAST 0 //Unreliable message to everyone
MSG_ONE 1 //Reliable message to one client
MSG_ALL 2 //Reliable message to everyone
MSG_INIT 3 //Write to the init string
MSG_PVS 4 //Ents in PVS of origin
MSG_PAS 5 //Ents in PAS of origin
MSG_PVS_R 6 //Reliable to PVS
MSG_PAS_R 7 //Reliable to PAS
MSG_ONE_UNRELIABLE 8 //Unreliable to one client
MSG_SPEC 9 //Send to spectator proxies

I’ll be trying them…

Last edited by commonbullet; 26-10-2005 at 04:54.. Reason: more info
  
Reply With Quote