generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Re: how to tell if player is male or female

Previous Thread :: Next Thread 
ShungTzu is not online. ShungTzu
Joined: 14 Jun 2014
Total Posts: 959
26 May 2015 09:42 AM
I know there's a way because I've seen games get gender specific possessive pronouns correct, Zombiecon, for example.

Is it a player property that Roblox doesn't tell us about, or what? (certainly wouldn't be the first)

If you know, please prove it by telling me.

Thanks
Report Abuse
JarodOfOrbiter is not online. JarodOfOrbiter
Joined: 17 Feb 2011
Total Posts: 20029
26 May 2015 09:47 AM
I'm pretty sure there isn't a way unless you dig through all of their owned assets (Or worn assets) and determine if it looks more like a boy or a girl.
Report Abuse
ShungTzu is not online. ShungTzu
Joined: 14 Jun 2014
Total Posts: 959
26 May 2015 09:55 AM
"Maybe his mom will hug him now!"
"Maybe her mom will hug her now!"

Zobiecon gets those statements correct (with respect to the Player's gender) every time without exception.

Any idea why that might be?
Report Abuse
rayk999 is not online. rayk999
Joined: 18 Feb 2011
Total Posts: 4705
26 May 2015 10:04 AM
check to see if they have the girl torso
Report Abuse
djamboo145 is not online. djamboo145
Joined: 03 Sep 2011
Total Posts: 2031
26 May 2015 10:12 AM
it should determined if (s)he chooses the option of what gender his/her roblox character is


Show me your moves!
Report Abuse
distalDigitPhalanx is not online. distalDigitPhalanx
Joined: 25 Jan 2015
Total Posts: 1509
26 May 2015 10:49 AM
You can't determine if the PLAYER is male or female, because on the internet, nobody knows you're a moose. You can't really determine if their CHARACTER is either, because Robloxians don't reproduce saxually, and so gender isn't really all that relevant. At best, you can determine if they LOOK male/female, or you can just prompt them when they first join the game.
Report Abuse
jordanNin64 is not online. jordanNin64
Joined: 07 Jun 2013
Total Posts: 2457
26 May 2015 10:52 AM
Prompt them when they first join the game.

You can do this with a simple GUI script, and storing it in a player using a boolvalue
Report Abuse
jackalreadytaken is not online. jackalreadytaken
Joined: 15 Jun 2014
Total Posts: 38
26 May 2015 11:30 AM
Thanks, guys, checking the Torso sounds like the best idea so far.

On another note, if those who don't know what they're talking about would stop pretending to answer questions, that would be great.

Just so you know, jordan, Player IS a Roblox instance.
Report Abuse
distalDigitPhalanx is not online. distalDigitPhalanx
Joined: 25 Jan 2015
Total Posts: 1509
26 May 2015 11:31 AM
You might want to add the ability to change your gender. Some people might use a male/female torso even though their character doesn't identify as that gender
Report Abuse
jackalreadytaken is not online. jackalreadytaken
Joined: 15 Jun 2014
Total Posts: 38
26 May 2015 11:34 AM
I'm sorry, jordan, I meant digita[whatever].
Report Abuse
powerhotmail123 is not online. powerhotmail123
Joined: 11 Apr 2011
Total Posts: 5041
26 May 2015 11:42 AM
Honestly, do you want to this just for the possessive pronouns?

You can just say: 'Their' or something. Why take all the trouble to know this...
I wouldn't waste time/effort/performance for this kind of thing. When, in reality, no one in ROBLOX would either care for or notice.

However, when you sign up for a ROBLOX account, you get to choose from male/female. BUT, ROBLOX, lets you (for some weird reason) get the women torso for free...

They should add a property for the Players Instance called, 'PlayerGender' or something of the sort.

Enjoying your stay at the Scripters Forum? Join this! http://www.roblox.com/My/Groups.aspx?gid=2582784
Report Abuse
ShungTzu is not online. ShungTzu
Joined: 14 Jun 2014
Total Posts: 959
26 May 2015 12:14 PM
Yeah, that would be nice. I was assuming that there would already have been something like that.

"Their" is plural. There's no short way to say it correctly, other than with gender specific pronouns, but there are also sounds. The character grunts, and stuff. It would be nice if I could use female sounding voices for for females.
Report Abuse
dogwarrior24 is not online. dogwarrior24
Joined: 10 Nov 2010
Total Posts: 1401
26 May 2015 12:16 PM
You could previously just check if they had the female torso, though that is not possible anymore as girls spawn with 3.0 instead.
Report Abuse
ShungTzu is not online. ShungTzu
Joined: 14 Jun 2014
Total Posts: 959
26 May 2015 12:34 PM
Hmm... We could still check for certain asset Ids.

What's 3.0?
Report Abuse
dogwarrior24 is not online. dogwarrior24
Joined: 10 Nov 2010
Total Posts: 1401
26 May 2015 12:36 PM
I was actually wrong, the female package is still locked for females, you can use this function i just made to check if the player is female or male.

function GetPlayerGender(Player)
local M = game:GetService("MarketplaceService")
if M:PlayerOwnsAsset(Player,48474356)
or M:PlayerOwnsAsset(Player,86499666)
then return true
else return false
end
Report Abuse
dogwarrior24 is not online. dogwarrior24
Joined: 10 Nov 2010
Total Posts: 1401
26 May 2015 12:37 PM
I missed an end.

function GetPlayerGender(Player)
local M = game:GetService("MarketplaceService")
if M:PlayerOwnsAsset(Player,48474356)
or M:PlayerOwnsAsset(Player,86499666)
then return true
else return false
end
end


Excuse me for that, I haven't coded much for a few months.
Report Abuse
powerhotmail123 is not online. powerhotmail123
Joined: 11 Apr 2011
Total Posts: 5041
26 May 2015 12:41 PM
^

Erm. The only reason your specific one is locked because it is a part of a package.
People can still buy this: http://www.roblox.com/ROBLOX-Girl-item?id=48474394
And for a matter of fact, there are nearly a million people, who signed up as males, have that package. Making checking with that, highly inaccurate.

Enjoying your stay at the Scripters Forum? Join this! http://www.roblox.com/My/Groups.aspx?gid=2582784
Report Abuse
rayk999 is not online. rayk999
Joined: 18 Feb 2011
Total Posts: 4705
26 May 2015 12:43 PM
just bought it
im a gurl now

heehee
Report Abuse
bluefrog53 is not online. bluefrog53
Joined: 05 Feb 2012
Total Posts: 766
26 May 2015 12:43 PM
I'm male and I have that item.
Report Abuse
powerhotmail123 is not online. powerhotmail123
Joined: 11 Apr 2011
Total Posts: 5041
26 May 2015 12:43 PM
^

I think there is a reason why ROBLOX doesn't show the gender. There's a reason why they are selling the opposite packages.

Lot's of evil people, would use that to manipulate different genders in ways I don't want to say. I know most of us won't do this, but there are people who do this.

ROBLOX acknowledged this in 2011, hence, making the package freely available.

Enjoying your stay at the Scripters Forum? Join this! http://www.roblox.com/My/Groups.aspx?gid=2582784
Report Abuse
dogwarrior24 is not online. dogwarrior24
Joined: 10 Nov 2010
Total Posts: 1401
26 May 2015 12:45 PM
They did it because they don't want to be gender biased, even though it still has a lot of uses and they shouldn't have done it.
Report Abuse
powerhotmail123 is not online. powerhotmail123
Joined: 11 Apr 2011
Total Posts: 5041
26 May 2015 12:47 PM
Back a few years ago, there were just dirty games. Exposing things I can't say. This was the spark that ignited them to do so. It was a good move. If they didn't do this, ROBLOX could lost its TRUSTe Kids Privacy, or worse, gotten shut down.

Enjoying your stay at the Scripters Forum? Join this! http://www.roblox.com/My/Groups.aspx?gid=2582784
Report Abuse
dogwarrior24 is not online. dogwarrior24
Joined: 10 Nov 2010
Total Posts: 1401
26 May 2015 12:50 PM
And you think making the things available stopped those dirty games from being made?
Report Abuse
powerhotmail123 is not online. powerhotmail123
Joined: 11 Apr 2011
Total Posts: 5041
26 May 2015 12:51 PM
It surely prevents lots of them. Have you seen any types of these games anymore? Nope.

It's a shame, OP's idea was a really good one. But these people had to spoil it.

Enjoying your stay at the Scripters Forum? Join this! http://www.roblox.com/My/Groups.aspx?gid=2582784
Report Abuse
bluefrog53 is not online. bluefrog53
Joined: 05 Feb 2012
Total Posts: 766
26 May 2015 12:54 PM
How about when a player joins a the same simply pull up a gui to select male or female and record it in a data store...?
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image