Idą świeta wiec chce dodac plugin na pake co podmienia model na choinke. Jednak po wgraniu pluga paka nie "pipczy" Cos trzeba dodac do pluginu? tu sma.
/* Christmas_C4 (CS 1.6) (c) 2006 MANCHIMOCYRUS ==>Description: A simple plugin that makes the old models of C4 to lok like a cristmas tree. ==>CVARS: NO cvars ==>Notes Requires Fakemeta Module */ #include <amxmodx> #include <fakemeta> #define PLUGIN "Christmas_C4" #define VERSION "1.0" #define AUTHOR "MANCHIMOCYRUS" #define CHRISTMAS "models/c14-cristmastree.mdl" public plugin_init() { register_plugin(PLUGIN,VERSION,AUTHOR); register_forward(FM_SetModel,"fw_setmodel"); } public fw_setmodel(ent,model[]) { if(equali(model,"models/w_c4.mdl")) { engfunc(EngFunc_SetModel,ent,CHRISTMAS); return FMRES_SUPERCEDE; } return FMRES_IGNORED; } public plugin_precache() { precache_model(CHRISTMAS); } public plugin_modules() { require_module("Fakemeta") }