Oh ... class still don't appear on Zombie CLasses ^_^'
I tried rz_vip.
And here there work , but is a diference..
Cand you add the same mesage on this script please..?
Spoiler
/*============================================ ====================================
-----------------------------------
-*- [ZP] Class: Zombie: Classic -*-
-----------------------------------
This plugin is part of Zombie Plague Mod and is distributed under the
terms of the GNU General Public License. Check ZP_ReadMe.txt for details.
============================================= ===================================*/
#include <amxmodx>
#include <zp50_class_zombie>
#include <rz_vip_core>
// Classic Zombie Attributes
new const zombieclass1_name[] = "Smoker"
new const zombieclass1_info[] = "V.I.P Class"
new const zombieclass1_models[][] = { "zombie_source" }
new const zombieclass1_clawmodels[][] = { "models/zombie_plague/v_knife_zombie.mdl" }
const zombieclass1_health = 1800
const Float:zombieclass1_speed = 0.75
const Float:zombieclass1_gravity = 1.0
const Float:zombieclass1_knockback = 1.0
new g_ZombieClassID
public plugin_precache()
{
register_plugin("[ZP] Class: Zombie: Classic", ZP_VERSION_STRING, "ZP Dev Team")
new index
g_ZombieClassID = zp_class_zombie_register(zombieclass1_name, zombieclass1_info, zombieclass1_health, zombieclass1_speed, zombieclass1_gravity)
zp_class_zombie_register_kb(g_ZombieClassID, zombieclass1_knockback)
for (index = 0; index < sizeof zombieclass1_models; index++)
zp_class_zombie_register_model(g_ZombieClassI D, zombieclass1_models[index])
for (index = 0; index < sizeof zombieclass1_clawmodels; index++)
zp_class_zombie_register_claw(g_ZombieClassID , zombieclass1_clawmodels[index])
}
public zp_fw_class_zombie_select_pre(id, classid){
if( classid == g_ZombieClassID ) {
static text[32]
formatex (text , charsmax ( text ) , "[VIP]")
zp_class_zombie_menu_text_add( text )
if(rz_is_user_vip(id)) {
return ZP_CLASS_AVAILABLE
}
return ZP_CLASS_NOT_AVAILABLE
}
return ZP_CLASS_AVAILABLE
}
/* AMXX-Studio Notes - DO NOT MODIFY BELOW HERE
*{\\ rtf1\\ ansi\\ deff0{\\ fonttbl{\\ f0\\ fnil Tahoma;}}\n\\ viewkind4\\ uc1\\ pard\\ lang1033\\ f0\\ fs16 \n\\ par }
*/