isInsideColShape | Multi Theft Auto: Wiki Skip to content

isInsideColShape

Client-side
Server-side
Shared

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 if a 3D position is inside a colshape or not.

Syntax

isInsideColShape ( )

Code Examples

server

This function checks if an element is within a colshape.

function isElementInsideColShape( theElement, theColShape )
return isInsideColShape( theColShape, getElementPosition( theElement ) )
end