Source2Toolkit
SchemaEntityClasses

CHEGrenadeProjectile

CHEGrenadeProjectile

Inheritance: CBaseCSGrenadeProjectile

Methods

CHEGrenadeProjectile* EmitGrenade(vecPosition, angAngle, vecVelocity, pOwner, nItemDefIndex)

Spawns a live grenade of this type. Ported from SwiftlyS2.

Parameters
  • vecPosition const Vector&
  • angAngle const QAngle&
  • vecVelocity const Vector&
  • pOwner CBaseEntity*
  • nItemDefIndex uint32_t

CHEGrenadeProjectile* New(className)

Parameters
  • className const char*

CHEGrenadeProjectile* FromIndex(iIndex)

Parameters
  • iIndex int

CHEGrenadeProjectile* FromIndex(index)

Parameters
  • index CEntityIndex

CHandle<CHEGrenadeProjectile> GetHandle()

On this page