Yes, it's easy
This is for zp4.3
PHP Code:
public zp_extra_item_selected(id, itemid)
{
if(itemid == g_itemid) // Your item id
{
if(xp_get_user_level(id) < 10) // The level you want
{
client_print(id, print_chat, "You need to be level 10 for using this item")
return PLUGIN_HANDLED // Refund the user
}
// Code...
}
}
(please, don't post twice)
__________________