Graphics::setEntityOverlayPassEnabled
Not available on SYNC MP yet
This member is part of the RAGE:MP API but SYNC MP does not implement it yet (Client-side JavaScript). Calling it does nothing or throws.
JavaScript
This method will enable or disable entity overlay feature.
Required Params
- enable: boolean
Return value
- void
Syntax
mp.game.graphics.setEntityOverlayPassEnabled(enable);
Example
//enable entity overlay
mp.game.graphics.setEntityOverlayPassEnabled(true);
//disable entity overlay
mp.game.graphics.setEntityOverlayPassEnabled(false);