Raised This Month: $ Target: $400
 0% 

EventDeathMsg


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Snitch
Veteran Member
Join Date: Sep 2013
Location: Kazakhstan
Old 10-11-2014 , 06:07   Re: EventDeathMsg
Reply With Quote #9

Quote:
Originally Posted by xxxperts View Post
Try this, it would work.

PHP Code:
public EventDeathMsg()
{
    static 
killervictimhscash;
    
    
killer read_data);
    
victim read_data);
    
    
hs read_data);
    
    if ( !
is_user_connectedkiller ) || !is_user_connectedvictim ) )
        return 
0;

    if ( 
is_user_connectedkiller ) )
    {
        
cash hs 100 100;
        
        
user_give_cashkillercash );
        
        
ColorChat0NORMAL"%s^x03 %s^x01 has killed^x03 %s^x01 and gain^x04 %i^x01 Cash."g_szChatPrefixGetUserNamekiller ), GetUserNamevictim ), cash );
    }

    return 
0;

No. No!

i need Terrorists Kill: gain 100 cash
and C-T Kill: gain 50 cash.

i have edit my post..
https://forums.alliedmods.net/showpo...47&postcount=7

Last edited by Snitch; 10-11-2014 at 06:07.
Snitch is offline
Send a message via Skype™ to Snitch
 



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:39.


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