- Documentation
- Server functions
- isOOPEnabled
Function
isOOPEnabled
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