Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
GameKit.LocalPlayer.isUnderage
Queries underage status.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
GameKit | 8.5 | ✅ Yes | ❌ No | ❌ No | ❌ No | ✅ Yes |
MBS( "GameKit.LocalPlayer.isUnderage" )
Parameters
none
Result
Returns 1, 0 or error.
Description
Queries underage status.A Boolean value that declares whether the local player is underage.
Some Game Center features are disabled if the local player is underage. Your game can also test this property if it wants to disable some of its own features based on the player’s age.
This function is free to use.
Created 5th November 2018, last changed 8th November 2018