cześć. Mam mały problem, otóż nie mogę skompilować malutkiego pluginu. Domyślam się, że błąd jest prosty, ale za nic nie mogę się z tym uporać
#include <amxmodx> #include <amxmisc> #include <engine> new maxPlayers; public plugin_init(){ register_plugin("Plugin", "1.0", "Hosty"); register_event("TextMsg", "funkcja","b", "2&#Killed_Hostage"); } public plugin_cfg(){ maxPlayers=get_maxplayers(); } public funkcja(id) { new killer = read_data(1) new name = get_user_name(killer) for(new i=1;i<=maxPlayers;i++) { if(get_user_flags(i) == ADMIN_BAN){ //cos tam //cos tam } } }
Wyskakuje mi taki oto error
hosty.sma(17) : error 088: number of arguments does not match definition
Gdyby ktoś mi pomógł będę naprawdę wdzieczny