I have no code right now , just ideas in my head.
So what am trying is to exceed the 16000 money limit , i tried searching and didnt find anything , so if anyone here has seen a thread regarding this , please feel free to post it
.
What ive tried so far is i registered the Money event and blocked it so the amount wouldn't change and set the users money manually but at each round start or at each kill event , the money would reset back to 16000 and stay there.
'Any' ideas or suggestions would be really appreciated ,
Thankyou
Edit:
PHP Code:
#include <amxmodx>
#include <cstrike>
#include <fakemeta>
#define PLUGIN "Money"
#define VERSION "1.0"
#define AUTHOR "EpicMonkey"
#define OFFSET_CSMONEY 115
new g_Money[33];
public plugin_init()
{
register_plugin(PLUGIN, VERSION, AUTHOR)
register_message(get_user_msgid("Money"), "Msg_Money");
register_clcmd("say /money", "Money")
}
public client_putinserver(id)
{
g_Money[id] += 800
}
public Msg_Money(MsgId, Dest, id)
{
set_pdata_int(id, OFFSET_CSMONEY, g_Money[id]);
set_msg_arg_int(1, ARG_LONG, g_Money[id]);
}
public Money(id)
{
g_Money[id] += 4000
cs_set_user_money(id, g_Money[id])
}