yametekudasai 0 Posted January 25, 2016 (edited) Solved Hello Which command is for checking the sex of player? I have tried this one but won't work. No matter boy or girl it just showing the same result. If (Sex == 1){ mes "It is for men only!"; close; } Can anyone tell me about this? Thank you. Edited January 25, 2016 by yametekudasai Quote Share this post Link to post Share on other sites
0 Kubix 83 Posted January 25, 2016 switch(Sex) { case 0: mes "female"; close; case 1: mes "male"; close; } 2 butasro and yametekudasai reacted to this Quote Share this post Link to post Share on other sites
0 Emistry 145 Posted January 25, 2016 what a coincidence... I was trying to update the script for sex checking too some example you can view here. https://github.com/HerculesWS/Hercules/pull/1123 Quote Share this post Link to post Share on other sites
0 yametekudasai 0 Posted January 26, 2016 Thanks for the help Kubix. The script works, I just put it in the wrong place. Thanks for the help Emistry. Quote Share this post Link to post Share on other sites
Solved
Hello
Which command is for checking the sex of player?
I have tried this one but won't work.
No matter boy or girl it just showing the same result.
If (Sex == 1){
mes "It is for men only!";
close;
}
Can anyone tell me about this?
Thank you.
Edited by yametekudasaiShare this post
Link to post
Share on other sites