What plugin for vips are u using?
To make guns/extra items only for admins use this(zp4.3 and 5.0 explained)
https://forums.alliedmods.net/showpo...48&postcount=3
To make zombi only for admins:
FIRST ADD #includ <amxmisc>
ZP 4.3
First search zp_user_infected_pre
PHP Code:
public zp_user_infected_pre(id, infector)
{
if(zp_get_user_next_class(id) == idclass)
{
if(!is_user_admin(id))
{
client_print(id, printchat, "This class is only for admins")
return PLUGIN_HANDLED;
}
else
{
THE CODE OF YOUR CLASS
}
}
In zp4.3 not exist a weay(i guess) to make visible only for a group
For ZP5.0
First go to zp_fw_class_zombie_selected_pre(id, class)
and add code like this
PHP Code:
public zp_fw_class_zombie_select_pre(id, class)
{
if(!is_user_admin(id) && (class != OURCLASS)) return ZP_CLASS_DON_TSHOW;
}[/PHP]
This will show only for admins
__________________