AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Money add display (https://forums.alliedmods.net/showthread.php?t=131701)

asd13 07-07-2010 20:46

Money add display
 
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 );



Hunter-Digital 07-08-2010 00:07

Re: Money add display
 
http://forums.alliedmods.net/showthread.php?p=946089

Like that ^


All times are GMT -4. The time now is 07:10.

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