AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Get player gender by steamid, possible? (https://forums.alliedmods.net/showthread.php?t=303737)

tarsisd2 12-19-2017 13:38

Get player gender by steamid, possible?
 
I was wondering if that was possible, think not, but the game "Rust" does that, your gender is based on your Steamid, so it must be a way

felhasznalo 12-19-2017 14:17

Re: Get player gender by steamid, possible?
 
You can get the SteamID using this function:
PHP Code:

native get_user_authid(indexauthid[], len

Rust assigns a random gender permanently to your SteamID, as it does not contain your real gender. (It's not even on the Steam user profile page.)

Depresie 12-19-2017 14:18

Re: Get player gender by steamid, possible?
 
Not possible

fysiks 12-19-2017 21:57

Re: Get player gender by steamid, possible?
 
What magic do you think exists that can properly guess your gender?

ddhoward 12-20-2017 03:25

Re: Get player gender by steamid, possible?
 
Rust does not determine your actual gender, it merely randomly picks a gender for you using your Steam ID as a seed.

siriusmd99 12-20-2017 05:38

Re: Get player gender by steamid, possible?
 
setinfo "sex" "m or f"

Kappa

PRoSToTeM@ 12-20-2017 12:09

Re: Get player gender by steamid, possible?
 
Quote:

Originally Posted by siriusmd99 (Post 2567204)
setinfo "sex" "m or f"

Kappa

No, please, nooo, don't use userinfo for this.

siriusmd99 01-09-2018 17:13

Re: Get player gender by steamid, possible?
 
Quote:

Originally Posted by PRoSToTeM@ (Post 2567284)
No, please, nooo, don't use userinfo for this.

Why? Because steam doesn't have sandbox for setinfo ? :D You mean it could be possible slowhacked by other servers or what did you mean?

Btw, the "sex" key was a joke.
But anyway it could be an idea to set setinfo sex "m" as default, because there are obviously more males in the game and if a girl wanted to "mark" herself as female then she will just write setinfo sex "f". Pretty simple but anyway it's not automatic. Girls have to write something in console.

edon1337 01-09-2018 17:19

Re: Get player gender by steamid, possible?
 
Quote:

Originally Posted by siriusmd99 (Post 2570907)
Why? Because steam doesn't have sandbox for setinfo ? :D You mean it could be possible slowhacked by other servers or what did you mean?

Btw, the "sex" key was a joke.
But anyway it could be an idea to set setinfo sex "m" as default, because there are obviously more males in the game and if a girl wanted to "mark" herself as female then she will just write setinfo sex "f". Pretty simple but anyway it's not automatic. Girls have to write something in console.

Weird how no feminist has yet requested this gender thingy to Valve :twisted:

siriusmd99 01-09-2018 18:15

Re: Get player gender by steamid, possible?
 
Quote:

Originally Posted by edon1337 (Post 2570909)
Weird how no feminist has yet requested this gender thingy to Valve :twisted:

I won't be amazed. They request everything except brains.

I bet a feminist would say me "Why 'setinfo sex m' is default? Thats discriminating." :D


All times are GMT -4. The time now is 05:37.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.