Class Projectile

Represents a grenade projectile.




_demo: DemoFile
classId: number

Server class ID.

deleting: boolean = false

Entity is scheduled for removal this tick.

index: number

Entity index.

serialNum: number

Serial number.


  • get handle(): number
  • Returns

    Number uniquely identifying this entity. Should be unique throughout the entire demo.

    Returns number

  • get isDormant(): boolean
  • True if this entity is out of the PVS. Always false on GOTV demos as all entities are always in the PVS.

    Returns boolean

  • get modelName(): null | string
  • Returns

    Name of the model that should be rendered for this entity. (e.g. 'models/Weapons/w_eq_smokegrenade_thrown.mdl')

    Returns null | string

  • get teamNumber(): number
  • Returns

    Team number (0: Unassigned, 1: Spectator, 2: Terrorist, 3: Counter-Terrorist)

    Returns number


  • Update the value of a prop

    Type Parameters


    • tableName: Table

      Name of the data table

    • varName: VarName

      Name of the prop to update

    • newValue: PropType

      New prop value

    Returns void

Generated using TypeDoc