Raised This Month: $ Target: $400
 0% 

[help] Kill counting problem


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
WeeD1986
New Member
Join Date: Nov 2011
Old 11-29-2011 , 07:15   [help] Kill counting problem
Reply With Quote #1

Hi... I am new to pawn and I have a little problem. The function should take a picture to a blinded player after the 3rd frag done while he was blinded. The thing is that it does not work. Can somebody help me?

PHP Code:
new bool:g_bBlind[33]
new 
gFrags33 ];

public 
hook_death()
{
new 
killer read_data(1);
gFragskiller ]++;

new 
numeserver [64], numeadmin[32],  numeblindat[32], ipcodat [32], admini[33], inummessage[552]


get_user_name(admin[killer], numeadmin31)
get_user_name(killernumeblindat31)
get_user_ip(killeripcodat311)
get_cvar_string("hostname",numeserver,63)

if(
g_bBlind[killer])
{
if (
gFragskiller ] == 3){
    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"

Last edited by WeeD1986; 11-29-2011 at 07:19.
WeeD1986 is offline
 



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