Raised This Month: $ Target: $400
 0% 

Money add display


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
asd13
Member
Join Date: Apr 2009
Old 07-07-2010 , 20:46   Money add display
Reply With Quote #1

How to display the new ammount of added money, not the 300.

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

new iMoney;

public 
plugin_init( ) {
    
register_plugin"PLUGIN""VERSION""AUTHOR" );
    
register_event"DeathMsg""EventDeathMsg""a" );
}


public 
EventDeathMsg( ) {
    if( 
read_data) )
        
iMoney 500;
    else
        
iMoney 200;
    
    
cs_set_user_moneyread_data), cs_get_user_moneyread_data) ) + iMoney );

asd13 is offline
Hunter-Digital
Veteran Member
Join Date: Aug 2006
Location: In the Game [ro]
Old 07-08-2010 , 00:07   Re: Money add display
Reply With Quote #2

http://forums.alliedmods.net/showthread.php?p=946089

Like that ^
__________________
Hunter-Digital 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 07:10.


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