I recommend putting this part before you start reading the args
PHP Code:
if(read_argc() < 4){
console_print(id,"%L",LANG_PLAYER,"SUPERSLAP_USAGE")
return PLUGIN_HANDLED
}
Change arg[24] to arg[32]. The name is max 31 chars.
I would also recommend adding a check to make sure they are not dead, such as using this instead
PHP Code:
new target = cmd_target(id, arg, 12)
__________________