You need to hook message money itself and check their parameters, better than use a death message..
Edit
Code:
#include <amxmodx>
public plugin_init()
{
register_plugin("Test","0.2","SmileY");
register_message(get_user_msgid("Money"),"MsgMoney");
}
public MsgMoney(Msg,Dest,id)
{
switch(get_msg_arg_int(1)) // I'm not have sure how we can hook money changes, this is a test
{
case 300:
{
set_msg_arg_int(1,ARG_LONG,600); // Set 600 instead of 300
return PLUGIN_HANDLED;
}
}
return PLUGIN_CONTINUE;
}
Not tested yet
__________________