Raised This Month: $ Target: $400
 0% 

[Help] Alltalk dead and alive.


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
twiister
Senior Member
Join Date: Mar 2013
Location: Argentina
Old 10-14-2013 , 14:36   [Help] Alltalk dead and alive.
Reply With Quote #1

Hello, it is possible to edit this plugin so that when it is activated it is listened:

Tt and Tt between alive and dead

CT and CT between alive and dead.

PHP Code:
#include <amxmodx>
#include <fun>

public plugin_init() {
    
register_plugin("Team Alltalk","0.1","v3x")
    
register_event("ResetHUD","new_round","a")
}

public 
new_round() {
    
    new 
ctplayers[32],ctnum
    
new ctplayers2[32],ctnum2
    
    get_players
(ctplayers,ctnum,"ce","CT")
    
get_players(ctplayers2,ctnum2,"ce","CT")
    
    for(new 
i=0i<ctnumi++) {
        for(new 
a=0a<ctnum2a++)
            
set_client_listen(ctplayers[i],ctplayers2[a],1)
    }
    
    new 
teplayers[32],tenum
    
new teplayers2[32],tenum2
    
    get_players
(teplayers,ctnum,"ce","TERRORIST")
    
get_players(teplayers2,tenum2,"ce","TERRORIST")
    
    for(new 
t=0t<tenumt++) {
        for(new 
e=0e<tenum2e++)
            
set_client_listen(teplayers[t],teplayers2[e],1)
    }
    
    return 
PLUGIN_CONTINUE

The plugin, Only is listened between:

Tt and Tt alives o Tt and Tt dead.

Ct and Ct alives o Ct and Ct dead.

Can anybody do it?? thank you very much!!
twiister 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 17:04.


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