Quote:
Originally Posted by fysiks
This should be fairly simple depending on how you want to set/determine the sex of the models that you want to show. You only needed to add one additional parameter to the ModelInfo enumeration instead of the two that you added:
PHP Code:
enum _:ModelInfo
{
Name[32],
CsTeams:Team,
Sex
}
Then, you need to define "Male" and "Female":
PHP Code:
enum {
Male,
Female
}
Then, you need to change the condition in the menu building function to also check for the sex of the model. Either in addition to the team check or you can change entirely to a sex check depending on how you want it to work.
I would probably just implement it with the sex check against a constant just to make sure that that part works as expected.
PHP Code:
g_eModels[i][Sex] == Female
Then, you can add more complex functionality for determining how to know which sex to show.
|
I still have a hard time doing this myself.
if it was a simple menu I can even make a menu easily but as the skins are within the const it is being difficult
could you give me some examples i'm still learning