Colshapes::newCircle: Difference between revisions

From RAGE Multiplayer Wiki
(Created page with "Creating colshape, circle in the 2D plane ==Parameters== * '''x: <span style="color:#008017>Number</span>''' * '''y: <span style="color:#008017>Number</span>''' * '''radius...")
 
Line 1: Line 1:
Creating colshape, circle in the 2D plane
Creating colshape, circle in the 2D plane
==Parameters==
==Parameters==
* '''x: <span style="color:#008017>Number</span>'''  
* '''x: <span style="color:#008017>Float</span>'''  
* '''y: <span style="color:#008017>Number</span>'''   
* '''y: <span style="color:#008017>Float</span>'''   
* '''radius: <span style="color:#008017>Float</span>'''  
* '''radius: <span style="color:#008017>Float</span>'''
 
==Syntax==
==Syntax==
<div class="header" style="background-color: #408DAE; color: #FFFFFF; border: 2px solid #408DAE;">
<div class="header" style="background-color: #408DAE; color: #FFFFFF; border: 2px solid #408DAE;">

Revision as of 13:12, 14 May 2017

Creating colshape, circle in the 2D plane

Parameters

  • x: Float
  • y: Float
  • radius: Float

Syntax

Server-Side
mp.colshapes.newSphere(x, y, radius)