DeleteColShape

From GTA Network Wiki
Jump to: navigation, search

DeleteColShape
Server-Side Function

utilities-terminal.png Server-Side csharp.png C#

Deletes a collision shape.

Syntax

void NAPI.ColShape.DeleteColShape(ColShape shape);

Required Arguments

  • shape: parameter input should be in ColShape type.

Usage example

Creating and deleting the colshape.

ColShape shape = NAPI.ColShape.Create2DColShape(100.0f, 100.0f, 50.0f, 50.0f);
NAPI.ColShape.DeleteColShape(shape);

Changelog

Version Description
1.0 Release.

References