Перейти к содержанию

DeleteWorldProp

Материал из RAGE MP Wiki Archive

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


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

Parameters

  • modelHash: parameter input should be in int or uint type
  • position: parameter input should be in Vector3 type
  • radius: parameter input should be in float type

Example

<syntaxhighlight lang="csharp"> NAPI.World.DeleteWorldProp(int modelHash, new Vector3(posX, posY, posZ), float radius); </syntaxhighlight>