Mam problem z kompilacją pliku
/* 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 "Swiateczne_C4" #define VERSION "1.0" #define AUTHOR "MANCHIMOCYRUS(przerobil_thomas)" #define CHRISTMAS1 "models/prezent.mdl" #define CHRISTMAS2 "models/balwan.mdl" #define CHRISTMAS3 "models/choinka.mdl" public plugin_init() { register_plugin(PLUGIN,VERSION,AUTHOR); register_forward(FM_SetModel,"fw_setmodel"); } public fw_setmodel(ent,model[]) { new rand = random_num(1, 2, 3); if(rand == 1) { if(equali(model,"models/w_c4.mdl")) { engfunc(EngFunc_SetModel,ent,CHRISTMAS1); return FMRES_SUPERCEDE; } } else if(rand == 2) { if(equali(model,"models/w_c4.mdl")) { engfunc(EngFunc_SetModel,ent,CHRISTMAS2); return FMRES_SUPERCEDE; } } else if(rand == 3) { if(equali(model,"models/w_c4.mdl")) { engfunc(EngFunc_SetModel,ent,CHRISTMAS3); return FMRES_SUPERCEDE; } } return FMRES_IGNORED; } public plugin_precache() { precache_model(CHRISTMAS1); precache_model(CHRISTMAS2); precache_model(CHRISTMAS3); } public plugin_modules() { require_module("Fakemeta") }
Welcome to the AMX Mod X 1.8.1-300 Compiler. Copyright (c) 1997-2006 ITB CompuPhase, AMX Mod X Team swiateczne_c4.sma(36) : error 088: number of arguments does not match definition 1 Error. Could not locate output file swiateczne_c4.amxx (compile failed).
Użytkownik KULEK26 edytował ten post 19.12.2014 01:15