isElementStreamable | Multi Theft Auto: Wiki Skip to content

isElementStreamable

Client-side
Server-side
Shared

Pair: setElementStreamable

This page is incomplete! Help wanted!

Please finish this page using the corresponding Old Wiki article.
Go to Contribution guidelines for more information.


This function checks whether an element is streamable as set by setElementStreamable or not.

Syntax

isElementStreamable ( )

Code Examples

client

Check if

function onClientColShapeHit(theElement, matchingDimension)
if(isElementStreamable(theElement)) then -- Checks whether the element is streamable
outputChatBox( "Element is streamable")
else
outputChatBox( "Element not streamable")
end
end
addEventHandler("onClientColShapeHit", root, onClientColShapeHit)

See Also

Element Functions