DeleteWorldProp: Difference between revisions
(Created page with "Globally deletes a world (object) prop at the given position. ==Syntax== {{#tag:pre|void {{Template:CSharp_Serverside_namespace}}World.DeleteWorldProp(uint/int modelHash, Vec...") |
No edit summary |
||
| (2 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
Globally deletes a world (object) prop at the given position. | Globally deletes a world (object) prop at the given position. | ||
{{CSharpContainer| | |||
{{#tag:pre|void {{Template:CSharp_Serverside_namespace}}World.DeleteWorldProp(uint/int modelHash, Vector3 position, float radius);}} | {{#tag:pre|void {{Template:CSharp_Serverside_namespace}}World.DeleteWorldProp(uint/int modelHash, Vector3 position, float radius);}} | ||
{{Parameters}} | {{Parameters}} | ||
*'''modelHash:''' parameter input should be in '''int ''' or '''uint''' type | *'''modelHash:''' parameter input should be in '''int ''' or '''uint''' type | ||
| Line 17: | Line 9: | ||
{{Example}} | {{Example}} | ||
{{#tag:syntaxhighlight| | {{#tag:syntaxhighlight| | ||
{{Template:CSharp_Serverside_namespace}}World.DeleteWorldProp( | {{Template:CSharp_Serverside_namespace}}World.DeleteWorldProp(int modelHash, new Vector3(posX, posY, posZ), float radius); | ||
|lang=csharp}} | |lang=csharp}} | ||
}} | }} | ||
[[Category:Serverside API]] | [[Category:Serverside API]] | ||
Latest revision as of 20:57, 27 November 2019
Globally deletes a world (object) prop at the given position.
C# Syntax
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
NAPI.World.DeleteWorldProp(int modelHash, new Vector3(posX, posY, posZ), float radius);