Code:
////////////////////////////////////////////////////////
// The Fuck You Plugin created by ToXiC //
// //
// version 2.0 //
// //
// cmd: //
// //
// amx_fuckyou <name> ex. "amx_fuckyou toxic" //
// //
// inspired by bigballer ^_^ //
// //
////////////////////////////////////////////////////////
#include <amxmodx>
#include <amxmisc>
public plugin_init(){
register_plugin("fuckyou", "0.1", "Toxic")
register_concmd("amx_fuckyou", "admin_fuckyou",ADMIN_KICK,"<authid, nick or #userid>")
return PLUGIN_CONTINUE
}
public admin_fuckyou(id, level, cid){
if (!cmd_access(id,level,cid,1))
return PLUGIN_HANDLED
new arg[32]
read_argv(1,arg,31)
new player = cmd_target(id,arg,0)
if (!player)
return PLUGIN_HANDLED
client_print(player,print_center," _ _^n |{_}| |{_}|^n | | | |^n |===| |===|^n _| |_ _| |_^n /==| |==\_ _/==| |==\^n /| | | | \ / | | | |\^n / | | | | | | | | | | \^n \ | | /^n \ / \ /")
new name[32],name2[32]
get_user_name(id,name,31)
get_user_name(player,name2,31)
client_print(0,print_chat,"[AMXX] ^"%s^"has just been flicked off by the ^"%s^"!",name2,name)
return PLUGIN_HANDLED
}
i dono if this works yet havent had time to test it but just tell me if you think everything looks alright, thx
also post comments on versions to come =P
__________________