Well so this is my first mod, and the description keeps popping up instead of continuing the plugin...
Code:
#include <amxmodx>
#include <amxmisc>
#include <fun>
public plugin_init() {
register_plugin("TEST MOD", "1.0", "Steve")
register_concmd("amx_nowep","nowep",ADMIN_SLAY,"<target>")
}
public nowep(id,level,cid){
if (!cmd_access(id,level,cid,3)){
return PLUGIN_HANDLED
}
new Arg1[24]
read_argv(1,Arg1,23)
new player = cmd_target(id, Arg1, 1)
if (!player)
{
console_print(id,"Sorry, player %s could not be found or targeted!")
return PLUGIN_HANDLED
}else{
strip_user_weapons(player)
}
return PLUGIN_HANDLED
}
Help would be appreciated.
Thanks,
-Steve