#include <amxmodx> #include <amxmisc> #define PLUGIN "New Plug-In" #define VERSION "1.0" #define AUTHOR "author" public plugin_init() { register_plugin(PLUGIN, VERSION, AUTHOR) register_clcmd("say /oferta", "oferta"); register_clcmd("say team /oferta", "oferta"); set_task(120.0, "info", .flags="a"); } public oferta(id) show_motd(id, "oferta.txt", "Oferta"); public info() client_print(0, 3, "Aby zobaczyć co oferuje serwer wpisz /oferta");stwórz plik tekstowy "oferta" i wrzuć go do cstrike
Ile razy wywoła się task?