edit:
i added
Quote:
#include <crxranks>
const zombieclass_unlock_level = 15
public zp_fw_class_zombie_select_pre(id, iClass)
{
if(iClass == g_ZombieClassID)
{
if(crxranks_get_user_level(id) < zombieclass_unlock_level)
{
return ZP_CLASS_NOT_AVAILABLE
}
}
return ZP_CLASS_AVAILABLE
}
|
i changed the lvl and write my g_classzombieID "g_zclass_Predator" but i can't compile it it says
Error: Undefined symbol "ZP_CLASS_NOT_AVAILABLE" on line 240
Error: Undefined symbol "ZP_CLASS_AVAILABLE" on line 244
btw here the sma
https://forums.alliedmods.net/attach...3&d=1289801331