Hello,
I tried to do this so the money on CashMod shows in the right corner to.
PHP Code:
#include <amxmodx>
#include <amxmisc>
#include <cstrike>
#include <cashmod>
#define PLUGIN "Cash Money"
#define VERSION "1.0"
#define AUTHOR "Ettan"
#define SURVIVE_MONEY 80
#define USER_MONEY 40
public plugin_init()
{
register_plugin(PLUGIN, VERSION, AUTHOR)
register_event( "DeathMsg", "Event_DeathMsg", "a" );
}
public Event_DeathMsg()
{
new killer = read_data(1);
{
cs_set_user_money(killer, cs_get_user_money(killer)+SURVIVE_MONEY)
}
}