DeletePlayerWorldProp

From GTA Network Wiki
Jump to: navigation, search

DeletePlayerWorldProp
Server-Side Function

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

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

Syntax

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

Required Arguments

  • player: parameter input should be in Client type.
  • 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
1.0 Release.

References