AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   How to add accses on voice? (https://forums.alliedmods.net/showthread.php?t=132184)

PWA 07-12-2010 18:05

How to add accses on voice?
 
Hello everyone, i wanted to ask, how to add voice on level?
example
I have ADMIN_KICK accsess, and i can only talk with microphone, but others cant, because dont have that accsess. how to do that?

I am using Jailbreak Extreme plugin!

PHP Code:

    if(is_user_admin(sender))
    {
        
engfunc(EngFunc_SetClientListeningreceiversendertrue)
        return 
FMRES_SUPERCEDE
    


This is the line, who do accsess on talking!
i need to to that in level or smtg , like accsess flag ADMIN_KICK or smtg like that!

Sorry for my bad english.. Thank you all, who will help me on this problem.

t3hNox 07-12-2010 18:10

Re: How to add accses on voice?
 
PHP Code:

    if(!(get_user_flags(sender) & ADMIN_KICK))
    {
        
engfunc(EngFunc_SetClientListeningreceiversendertrue)
        return 
FMRES_SUPERCEDE
    



PWA 07-13-2010 14:42

Re: How to add accses on voice?
 
dont work this.. :s

RedRobster 07-13-2010 14:43

Re: How to add accses on voice?
 
Check out joropito's jailbreak plugin, because he did something very similar to what you want.


All times are GMT -4. The time now is 07:13.

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