getSex

Bridge.getSex()

Arguments

  • none

Returns

  • sex (string): The sex of the player, either "male" or "female". Defaults to "male" if not found.

Example Usage

local sex = Bridge.getSex()

print("Player Sex: " .. sex)

Return Structure

If player sex is found:

"male" or "female"

If player sex is not found:

"male"

Last updated