IsElementStreamedIn: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
(New page: __NOTOC__ {{Client function}} This function checks whether an element is currently streamed in (not virtualized) and are actual GTA objects in the world. You can force an element to be...)
(No difference)

Revision as of 11:00, 17 January 2008

This function checks whether an element is currently streamed in (not virtualized) and are actual GTA objects in the world. You can force an element to be streamed in using setElementStreamable.
DP2 can return true even if this element is not fully streamed in. This can happen during the period when the vehicle/object model is loading while the element is not actually fully created yet.

Syntax

bool isElementStreamedIn ( element theElement )

Required Arguments

  • theElement: The element to check whether is streamed in or not.

Returns

Returns true if the passed element is currently streamed in, false if it is virtualized.

Example


See Also


Template:Needs example