IsCefEnabled
Внешний вид
Returns if CEF is enabled on the client.
bool NAPI.Player.IsCefEnabled(Player player);
Parameters
- player: Parameter input should be in Player type.
Returns
- bool: true if CEF is enabled for the client, false otherwise.
Example
<syntaxhighlight lang="csharp"> if (!NAPI.Player.IsCefEnabled(player)) {
NAPI.Player.KickPlayer(player, "Please enable CEF first for our beast server!");
} </syntaxhighlight>