Edit and use fakemeta
PHP Code:
#include <amxmodx>
#include <hamsandwich>
#include <fakemeta>
#define PLUGIN "Starting Money"
#define VERSION "1.0.0"
#define AUTHOR "Simple32"
new gSpawnMoney;
public plugin_init() {
register_plugin(PLUGIN, VERSION, AUTHOR)
RegisterHam(Ham_Spawn, "player", "StartingMoney");
gSpawnMoney = register_cvar("spawn_money", "800");
}
public StartingMoney(id)
if(get_pcvar_num(gSpawnMoney) && get_pdata_int(id, 115) != get_pcvar_num(gSpawnMoney))
set_pdata_int(id, 115, get_pcvar_num(gSpawnMoney))