Colshape::isPointWithin: Difference between revisions

From RAGE Multiplayer Wiki
(Added syntax and working example.)
 
m (→‎Syntax: Fixed syntax)
Line 8: Line 8:
<div style="margin: 10px 10px 10px 10px;"><b>Server-Side</b></div>
<div style="margin: 10px 10px 10px 10px;"><b>Server-Side</b></div>
<syntaxhighlight lang="javascript">
<syntaxhighlight lang="javascript">
let position = player.position;
colshape.isPointWithin(position);
colshape.isPointWithin(position);
</syntaxhighlight>
</syntaxhighlight>
</div>
</div>
==See Also==
==See Also==
{{Colshapes_function}}
{{Colshapes_function}}

Revision as of 18:34, 3 October 2017