![]() |
Player Gender?
Is there any way to read what gender the player has selected in his profile? I'm highly dependant on such a function right now, and player.ismale / player.isfemale always return true / false - no matter what's in their profile. And yes, I tried it both clientside and serverside.
|
to set it
HTML Code:
player.setGender(gender);HTML Code:
player.ismale - boolean |
Read the question. :/
Quote:
Quote:
|
There should be like some $profile:: variables and such.
|
Set a client variable to either male/female on login then add that to the profile vars.
|
Quote:
|
You can still delete it ^_^
|
Quote:
Stefan, is there a way to do so, or can you possibly add one? |
I think you can do sendtext("lister","getprofile",player.account) and then get the data in function onReceiveText()
|
Just assume that it's male.
|
Quote:
|
There are no girls on The Internet.
|
Quote:
PHP Code:
EDIT x2: Also, it appears as though when you select "unknown", ismale/isfemale returns what gender you previously had selected? |
Quote:
|
Quote:
PHP Code:
|
Maybe because its serverside? :o
|
| All times are GMT +2. The time now is 11:11 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.