This site is a testing version, but all data is shared with the live forum.


Raised This Month: $ Target: $400
 0% 

read player binds


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Balage74
Member
Join Date: Dec 2006
Old 05-23-2013 , 13:02   read player binds
Reply With Quote #1

Hello!

can I read player bindings? if yes, how?
need for me of my mute plugin.
idea:
if mute a player and he use voice bind, the server print hud message " You dont use this now" (or other e.g. reason, etc.)
anybody can help me?



(sorry for my english...)
__________________
Balage74 is offline
Send a message via MSN to Balage74 Send a message via Skype™ to Balage74
Napoleon_be
Veteran Member
Join Date: Jul 2011
Location: Belgium
Old 05-23-2013 , 13:12   Re: read player binds
Reply With Quote #2

i don't know if it is possible, but if it is, the first thing i'd try it using get_user_info()
__________________
Napoleon_be is offline
Send a message via Skype™ to Napoleon_be
Balage74
Member
Join Date: Dec 2006
Old 05-24-2013 , 14:23   Re: read player binds
Reply With Quote #3

thx
__________________
Balage74 is offline
Send a message via MSN to Balage74 Send a message via Skype™ to Balage74
akcaliberg
Senior Member
Join Date: Nov 2011
Location: Istanbul
Old 05-24-2013 , 17:16   Re: read player binds
Reply With Quote #4

You can't.
What do you mean by voice bind ? If you mean "+voicerecord" try this:

PHP Code:
new bool:voice_blocked[33];
public 
plugin_init() {
    
    
register_forward(FM_Voice_SetClientListening"FwdSetVoice"); 
}
public 
FwdSetVoice(receiversenderlisten) {   
    
    if( 
voice_blocked[id] ) {
        
engfunc(EngFunc_SetClientListeningreceiversender0);  
        return 
FMRES_SUPERCEDE;  
    }
    return 
FMRES_IGNORED  

akcaliberg is offline
Balage74
Member
Join Date: Dec 2006
Old 06-06-2013 , 06:33   Re: read player binds
Reply With Quote #5

thx, I need this
__________________
Balage74 is offline
Send a message via MSN to Balage74 Send a message via Skype™ to Balage74
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 18:14.


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