MTA:Eir/functions/engineGetStreamingFocusEntity
Jump to navigation
Jump to search
This function returns the entity that the world is streaming around. By default, this is the local player.
Syntax
element engineGetStreamingFocusEntity ()
Returns
Returns the MTA entity that the world is streaming around.
Example
Click to collapse [-]
ClientThis snippet centers the camera around the streaming focus entity.
setCameraTarget( entineGetStreamingFocusEntity() );