Raised This Month: $ Target: $400
 0% 

[HELP] Print message


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
diviqt
Senior Member
Join Date: Jul 2007
Location: Bulgaria
Old 03-26-2009 , 09:53   [HELP] Print message
Reply With Quote #1

What i have to change in this
Code:
public eventDeathMsg()
{
        new iKiller = read_data(1);
 
        if (iKiller == read_data(2))
        {
                g_iKills[iKiller] = 0;
 
                return;
        }
 
 
        g_iKills[iKiller] += 1;
 
        for (new i = 0; i < sizeof(g_szSnds); i++)
        {
                if (g_bMultiKill[iKiller] && g_iKills[iKiller] == g_iLvls[i])
                {  
        new name[32];
        get_user_name(iKiller, name, 31);
        client_cmd(iKiller, "spk %s", g_szSnds[i]);
                        client_print(iKiller, print_chat, "%s %s", name, g_szMsgs[i]);
                }
        }
 
        g_bMultiKill[iKiller] = true;
 
        set_task(KILL_TIME, "taskEndMultiKills", iKiller);
}
to show the message i want to all the players and they to hear the sound too because when someone do double kill or triple kill only he hears the sound and he can see the message Player made DOUBLE KILL !

Here is the plugin

Last edited by diviqt; 03-29-2009 at 10:52.
diviqt is offline
Send a message via ICQ to diviqt Send a message via Skype™ to diviqt
 



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


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