Please tell me why this has a "Bad Load":
Code:
#include <amxmodx>
#include <amxmisc>
new PLUGIN[]="You Are Stupid"
new AUTHOR[]="Kasc"
new VERSION[]="1.00"
public plugin_init()
{
register_plugin(PLUGIN, VERSION, AUTHOR)
register_clcmd("amx_urstupid","myfunction",AMX_HELP,"Declares that you think a specific person is stupid!")
}
public myfunction(id) {
new arg[32];
read_argv(1,arg,31);
new player = cmd_target(id,arg);
if(!player) {
return PLUGIN_HANDLED;
}
new targetname[32], myname[32];
get_user_name(player,targetname,31);
get_user_name(id,myname,31);
client_print(0,print_chat,"* %s thinks that %s is stupid!",myname,targetname);
return PLUGIN_HANDLED;
}
thanks
__________________