Just add this:
PHP Code:
client_print(id, print_center, "Your selected class in only for *VIP* members")
client_print(id, print_chat, "Your selected class in only for *VIP* members. Changed to default zombie class.")
--->
PHP Code:
public zp_fw_class_zombie_select_pre(id, classid) {
if (classid == g_ZombieClassID) {
if (zv_get_user_flags(id) == 0) {
zp_class_zombie_menu_text_add("*VIP* only!")
client_print(id, print_center, "Your selected class in only for *VIP* members")
client_print(id, print_chat, "Your selected class in only for *VIP* members. Changed to default zombie class.")
return ZP_CLASS_NOT_AVAILABLE;
}
else {
zp_class_zombie_menu_text_add("*VIP*")
return ZP_CLASS_AVAILABLE;
}
}
return ZP_CLASS_AVAILABLE;
}
So, just change the text in this part:
Quote:
client_print(id, print_center, "Your selected class in only for *VIP* members")
client_print(id, print_chat, "Your selected class in only for *VIP* members. Changed to default zombie class.")
|