When you kill a guy it gives you money.
On player connect it loads money and on player disconnect it saves the money.
I will add more features later
COMMANDS:
sm_setmoney <name> <amount>
CVARS:
money_hs_bonus <20> How much extra money with a headshot kill
money_kill <100> How much money for killing 1 player
money_lose_suicide <50> How much money lose on suicide
NATIVES:
SetMoney(client, amount)
GetMoney(client)
Players money saved in data/money.txt
"Money"
{
"STEAM_1:0:12345678"
{
"Current Money" "100"
}
"STEAM_1:0:87654321"
{
"Current Money" "80"
}
}
Download
Source