View Single Post
FBultimate
Junior Member
Join Date: May 2022
Old 05-28-2022 , 08:30   Re: OciXCrom's Rank System [XP|Levels|Ranks]
Reply With Quote #785

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

Last edited by FBultimate; 05-28-2022 at 09:24.
FBultimate is offline