DeleteWorldProp

From GTA Network Wiki
Jump to: navigation, search

DeleteWorldProp
Server-Side Function

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

Globally deletes a world (object) prop at the given position.

Syntax

void NAPI.World.DeleteWorldProp(uint/int modelHash, Vector3 position, float radius);

Required Arguments

  • modelHash: parameter input should be in int or uint type. You could use GetHashKey for this.
  • position: parameter input should be in Vector3 type.
  • radius: parameter input should be in float type.

Usage example(s)

Insert example here, thank you.

Changelog

Version Description
0.3.0.4 Second overload added, params updated and deletion is now permanent.
1.0 Release.

References