look the comment: why you handle the plugin after player choose a item?
try to replace all "return PLUGIN_HANDLED" with "return PLUGIN_CONTINUE"
PHP Code:
if(key == 8) {
new name[17]
get_user_name(id, name, 18)
cs_reset_user_model (id)
ColorChat(0, RED, "^x04[VIP] ^x03%s^x01 has resetted his ^x04Admin Model", name)
return PLUGIN_HANDLED // <----- And here
}
else {
return PLUGIN_HANDLED // <---- here
}
return PLUGIN_HANDLED // <------ here
}
and use 1 switch not 8 if statements
__________________