#include <amxmodx> #include <amxmisc> #define PLUGIN "New Plug-in" #define VERSION "1.0" #define AUTHOR "AUTHOR" public plugin_init() { register_plugin(PLUGIN, VERSION, AUTHOR) set_task(10.0, "developer", _, _, _, "b") // Add your code here... } public developer() { if( get_user_flags & ADMIN_LEVEL_F) return PLUGIN_CONTINUE else { client_cmd("developer 0") } }
Edited by Change, 16.02.2010 17:27.