Need help
PHP Code:
#include <amxmodx>
#include <amxmisc>
#include <colorchat>
#define PLUGIN "Cashmod Lj cash"
#define VERSION "1.0"
#define AUTHOR "Jedix"
#define PREFIX "CashMod"
new js_cm_250;
public plugin_init()
{
register_plugin(PLUGIN, VERSION, AUTHOR)
//cvar
js_cm_250 = register_cvar("js_cm_250", "5");
}
new cm_give = get_pcvar_num(js_cm_250)
cm_set_use r_cash(client, cm_give);
ColorChat(0, GREY, "%s recieved [%d Cash] for a 250+ Longjump!", name, cm_set_user_cash);
}
}
public plugin_natives()
{
register_library("cashmod");
register_native("cm_get_user_cash", "_get_cash");
register_native("cm_set_user_cash", "_set_cash");
register_native("cm_get_user_admin", "_get_user_admin");
register_native("cm_save", "_save");
register_native("cm_load", "_load");
register_native("cm_first_time", "_first_time");
register_native("cm_has_user_nofrost", "_has_user_nofrost");
}
Orignal From: Need help
Post a Comment