what exactly you have made?
About the predator class...
you just copied mine?
but mine is better...
PHP Code:
/* Plugin generated by AMXX-Studio */
#include <amxmodx>
#include <basebuilder>
#include <vip_core>
#define PLUGIN "[BB] Vip-Predator-Class"
#define VERSION "1.0"
#define AUTHOR "Natsheh"
#define VFLAG "c"
new const zclass_name[] = "Predator"
new const zclass_info[] = "\r( Vip Only ) \yHP++ SP++ JP++"
new const zclass_model[] = "bb_predator"
new const zclass_clawmodel[] = "v_predator_claws"
const zclass_health = 4000
const zclass_speed = 325
const Float:zclass_gravity = 0.5
const Float:zclass_knockback = 1.0
new zClassid
new const flag_info[] = "accessabilty to predator class"
public plugin_init()
{
register_plugin(PLUGIN, VERSION, AUTHOR)
}
public plugin_precache()
{
zClassid = zp_register_zombie_class(zclass_name, zclass_info, zclass_model, zclass_clawmodel, zclass_health, zclass_speed, zclass_gravity, zclass_knockback)
}
public vip_flag_creation()
{
register_vip_flag_info(VFLAG, flag_info)
new Exists = flags_are_existed(VFLAG)
if(!Exists)
{
create_vip_flag(VFLAG)
}
}
public bb_zombie_class_picked_pre(id, class)
{
if(class == zClassid)
{
new vFlags[32]
get_vuser_flags(id, vFlags, charsmax(vFlags))
if(contain(vFlags, VFLAG) == -1)
{
return 1
}
}
return 0
}