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(PLUGINVERSIONAUTHOR)
 
//cvar
 
js_cm_250 register_cvar("js_cm_250""5");
}
 new 
cm_give get_pcvar_num(js_cm_250)
 
cm_set_use r_cash(clientcm_give);
 
ColorChat(0GREY"%s recieved [%d Cash] for a 250+ Longjump!"namecm_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");










What did i do wrong?


Orignal From: Need help

No comments

Not a single link is allowed to submit in comment :o