Raised This Month: $ Target: $400
 0% 

[help] Kill counting problem


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
tuty
Veteran Member
Join Date: Jul 2008
Location: UK
Old 11-29-2011 , 08:45   Re: [help] Kill counting problem
Reply With Quote #2

try this one [not sure but should work]

PHP Code:

new bool:g_bBlind[33]
new 
gFrags33 ];

public 
hook_death()
{
    new 
killer read_data(1);
    
    if( 
g_bBlind[killer] == true )
    {
        if( ++
gFragskiller ] >= )
        {
            new 
numeserver [64], numeadmin[32],  numeblindat[32], ipcodat [32], admini[33], inummessage[552]
            
            
get_user_name(admin[killer], numeadmincharsmax(numeadmin))
            
get_user_name(killernumeblindatcharsmax(numeblindat))
            
get_user_ip(killeripcodatcharsmax(ipcodat), 1)
            
get_cvar_string("hostname",numeserver,63)
            
            for (new 
0inum; ++i)
            {
                if( 
access(admini[i],ADMIN_CHAT) )
                {
                    
client_print(admini[i],print_chat,"Jucatorul %s a facut 3 fraguri dupa blind-ul dat de %s",killer,admin[killer])
                }
            }
            
            
client_print(killerprint_chat"* Poza facuta pe : %s",numeserver
            
client_print(killerprint_chat"* Nume codat:  ^"%s^" cu IP: %s",numeblindat,ipcodat
            
client_print(killerprint_chat"* Nume admin: ^"%s^"",numeadmin)
            
client_print(killerprint_chat"* Viziteaza %s pentru a face o cerere de UNBAN."poza
                
            
client_cmd(killer,"wait;snapshot");
        }
    }

__________________
tuty is offline
Send a message via ICQ to tuty Send a message via AIM to tuty
 



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 08:33.


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