/*ADMIN SHOOT DESIGNED TO FIND GUYS WITH NO RECOIL FIND SUSPECT AND EXECUTE COMMAND ON HIM HE LOOK FOR SMALL OR NO RECOIL AUTO TURN OFF REQUIRES FILTERED ADMIN MOD DLL */ #include <core> #include <console> #include <string> #include <admin> #include <adminlib> /*20*/ new STRING_VERSION[MAX_DATA_LENGTH] = "2.50.0"; new tolazysodog[MAX_NAME_LENGTH]; public unfriendlyfire(HLCommand,HLData,HLUserName,UserIndex) { new Command[MAX_COMMAND_LENGTH]; new Data[MAX_DATA_LENGTH]; new Text[MAX_TEXT_LENGTH]; new User[MAX_NAME_LENGTH]; convert_string(HLCommand,Command,MAX_COMMAND_LENGTH); convert_string(HLData,tolazysodog,MAX_DATA_LENGTH); if (check_user(Data) == 1) { get_username(Data,tolazysodog,MAX_NAME_LENGTH); say_command(User,Command,Data); if(check_immunity(tolazysodog)!=0) { snprintf(Text, MAX_TEXT_LENGTH, "You can't force %s to shoot you silly bear...", tolazysodog); say(Text); return PLUGIN_HANDLED;} } else { execclient(tolazysodog, "+jump"); execclient(tolazysodog, "cl_forwardspeed 0"); execclient(tolazysodog, "cl_sidespeed 0"); execclient(tolazysodog, "cl_backspeed 0"); execclient(tolazysodog, "-mlook"); execclient(tolazysodog, "-jlook"); execclient(tolazysodog, "m_pitch 0.000"); execclient(tolazysodog, "m_yaw 0.000"); execclient(tolazysodog, "m_forward 0"); execclient(tolazysodog, "m_side 0.0"); set_timer("atack", 1, 0); } return PLUGIN_HANDLED; } public atack(){ /*42*/ execclient(tolazysodog, "+attack"); set_timer("cesefire", 4, 0); } public cesefire() { execclient(tolazysodog, "-attack"); execclient(tolazysodog, "cl_forwardspeed 400"); execclient(tolazysodog, "cl_sidespeed 400"); execclient(tolazysodog, "cl_backspeed 400"); execclient(tolazysodog, "+mlook"); execclient(tolazysodog, "+jlook"); execclient(tolazysodog, "m_pitch 0.022"); execclient(tolazysodog, "m_yaw 0.022"); execclient(tolazysodog, "m_forward 1"); execclient(tolazysodog, "m_side 0.8"); execclient(tolazysodog, "-jump"); return PLUGIN_HANDLED; } public plugin_init() { plugin_registerinfo("Admin Force Fire", "now", STRING_VERSION); plugin_registercmd("admin_fireatwill","unfriendlyfire",ACCESS_BAN,"admin_fireatwill <name|id>: Forces a client to shoot to check for no recoil."); return PLUGIN_CONTINUE; }