Umm you can check out the code in this and see if it helps:
http://forums.alliedmods.net/showthr...highlight=FITH
Here Connor's code for how to block the radio:
PHP Code:
#include <amxmodx>
#include <fakemeta>
#include <hamsandwich>
#define VERSION "0.0.1"
#define XO_PLAYER 5
#define m_iRadiosLeft 192
public plugin_init()
{
register_plugin("No Radio", VERSION, "ConnorMcLeod")
RegisterHam(Ham_Spawn, "player", "Ham_CBasePlayer_Spawn_Post", 1)
register_clcmd("radio1", "ClientCommand_RadioMenu")
register_clcmd("radio2", "ClientCommand_RadioMenu")
register_clcmd("radio3", "ClientCommand_RadioMenu")
}
public Ham_CBasePlayer_Spawn_Post( id )
{
if( is_user_alive(id) )
{
set_pdata_int(id, m_iRadiosLeft, 0, XO_PLAYER)
}
}
public ClientCommand_RadioMenu( id )
{
return PLUGIN_HANDLED_MAIN
}
__________________