So I have a third gender and I'm wondering how I put
if(cm.getChar().getGender() == 0 and 2 ) {
I can't do
if(cm.getChar().getGender() >= 0 ) {
because I needa leave female out.
If anyone can help thanks.
Printable View
So I have a third gender and I'm wondering how I put
if(cm.getChar().getGender() == 0 and 2 ) {
I can't do
if(cm.getChar().getGender() >= 0 ) {
because I needa leave female out.
If anyone can help thanks.
Male = 0
Female = 1
Trans (or whatever) = 2
|| is the OR operator. It basically says, if this statement is true OR this statement is true, then do this..Code:if (cm.getPlayer().getGender() == 0 || cm.getPlayer().getGender == 2)
thanks man. really appreciate it.