Hi there,
i'm encountering problem while using the condition. I have Human classes wich i like to assign every cso knife i have to it. I tried doing it with native inside human classes sma, But there is issues.
Code:
public zp_user_humanized_post(id, class)
{
if(class = g_hclass1){
Getj9(id);
}
else if (class = g_hclass2){
get_dragonsword(id);
}
}
The problem is when i select g_hclass1 it gives me dragonsword same with class two, i want every class has it own knife. So what should i do to avoid this issues?
thanks in advance.