hey guys been trying to do a mute script and im having issue with this
PHP Code:
public OnClientPutInServer(client)
{
if ( GetConVarInt(sm_fgjb_mute) >= 2 && (!GetAdminFlag(GetUserAdmin(client), muteImmuneAdm) || GetConVarInt(sm_fgjb_mute_immune) == 0) )
{
SetClientListeningFlags(client, VOICE_MUTED);
PrintToChatAll("\x04[DEBUG] \x01VOICE MUTED = TRUE");
}
}
for some reason even tho the code it right the debug msg isnt coming up so im guessing the command line isnt working.'
no compile errors either.
if you wish more view of the script just send me a PM if you think you can help out.