ServersYour serverFor creatorsForumFAQDocumentationSecurity
Download the launcher
  1. Documentation
  2. Server functions
  3. isOOPEnabled

Function

isOOPEnabled

ServerMiscellaneousIdentical to MTA:SA

Checks whether the resource has the object syntax (<oop>true</oop>, e.g. player:getName()). In Trilogy Hub it always returns false; use functions (getPlayerName(player)).

Syntax

bool isOOPEnabled()

Returns

Always false.

Example

outputServerLog(tostring(isOOPEnabled())) -- false

See also