DeleteColShape

From GT-MP
Jump to: navigation, search
DeleteColShape
Server-Side Function
Utilities-terminal.png Server-Side Csharp.png C#

Deletes a collision shape.


Syntax

API.deleteColShape(ColShape shape);

Required Arguments

  • shape: parameter input should be in ColShape type.

Usage example

Creating and deleting the colshape.

var shape = API.create2DColShape(100.0f, 100.0f, 50.0f, 50.0f);
API.deleteColShape(shape);


References