Raised This Month: $51 Target: $400
 12% 

clientputinserver not working?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Wolfman
Member
Join Date: Apr 2009
Location: Australia
Old 12-07-2010 , 09:56   clientputinserver not working?
Reply With Quote #1

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) >= && (!GetAdminFlag(GetUserAdmin(client), muteImmuneAdm) || GetConVarInt(sm_fgjb_mute_immune) == 0) )
    {
            
SetClientListeningFlags(clientVOICE_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.

Last edited by Wolfman; 12-07-2010 at 10:04.
Wolfman is offline
bl4nk
SourceMod Developer
Join Date: Jul 2007
Old 12-07-2010 , 12:28   Re: clientputinserver not working?
Reply With Quote #2

Try using OnClientPostAdminCheck instead.
bl4nk is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 09:19.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode