CreateOwnedProjectile

From GTA Network Wiki
Jump to: navigation, search

CreateOwnedProjectile
Server-Side Function

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

Function Description

Syntax

void NAPI.Explosion.CreateOwnedProjectile(Client owner, WeaponHash weapon, Vector3 start, Vector3 target, int damage, float speed = -1f, uint dimension = NAPI.GlobalDimension);

Required Arguments

  • owner: parameter input should be in Client type.
  • weapon: parameter input should be in WeaponHash type.
  • start: parameter input should be in Vector3 type.
  • target: parameter input should be in Vector3 type.
  • damage: parameter input should be in int type.

Optional Arguments

  • speed: parameter input should be in float type.
  • dimension: parameter input should be in uint type.


Usage example(s)

Example Description

NAPI.Explosion.CreateOwnedProjectile(owner, weapon, start, target, damage);

Changelog

Version Description
1.0 Release.

==References