Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

alt-enums

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

alt-enums - npm Package Compare versions

Comparing version 1.0.2 to 1.0.4

67

index.d.ts
declare module "alt-enums" {
// For e.g. giveWeaponToPed native
export const enum WeaponModel {

@@ -100,2 +101,3 @@ CombatPdw = 0x0A3D4D34,

// For e.g. setPedWeaponTintIndex native
export const enum WeaponTint {

@@ -112,2 +114,3 @@ Normal = 0,

// For e.g. setPlayerModel native
export const enum PedModel {

@@ -896,3 +899,42 @@ a_c_boar = 0xCE5FF074,

export enum InputGroup {
export const enum PedFlag {
CanPunch = 18,
CanFlyThruWindscreen = 32,
DiesByRagdoll = 33,
PutOnMotorcycleHelmet = 35,
NoCollision = 52,
IsShooting = 58,
IsOnGround = 60,
NoCollide = 62,
Dead = 71,
IsSniperScopeActive = 72,
SuperDead = 73,
IsInAir = 76,
IsAiming = 78,
Drunk = 100,
IsNotRagdollAndNotPlayingAnim = 104,
NoPlayerMelee = 122,
NmMessage466 = 125,
InjuredLimp = 166,
InjuredLimp2 = 170,
DisableShufflingToDriverSeat = 184,
InjuredDown = 187,
Shrink = 223,
MeleeCombat = 224,
DisableStoppingVehEngine = 241,
IsOnStairs = 253,
HasOneLegOnGround = 276,
NoWrithe = 281,
Freeze = 292,
IsStill = 301,
NoPedMelee = 314,
PedSwitchingWeapon = 331,
Alpha = 410,
DisablePropKnockOff = 423,
DisableStartingVehEngine = 429,
FlamingFootprints = 421
}
// For e.g. disableControlAction native
export const enum InputGroup {
Move = 0,

@@ -932,2 +974,3 @@ Look,

// For e.g. disableControlAction native
export const enum Input {

@@ -1282,2 +1325,3 @@ NextCamera = 0,

// For e.g. getVehicleClass native
export const enum VehicleClass {

@@ -1309,2 +1353,3 @@ Compact = 0,

// For e.g. hideHudComponentThisFrame native
export const enum HudComponent {

@@ -1336,2 +1381,22 @@ Hud = 0,

}
// For e.g. taskShootAtCoord native
export const enum FiringPattern {
BurstFire = 0xD6FF6D61,
BurstFireInCover = 0x026321F1,
BurstFireDriveBy = 0xD31265F2,
FromGround = 0x2264E5D6,
DelayFireByOneSec = 0x7A845691,
FullAuto = 0xC6EE6B4C,
SingleShot = 0x5D60E4E0,
BurstFirePistol = 0xA018DB8A,
BurstFireSmg = 0xD10DADEE,
BurstFireRifle = 0x9C74B406,
BurstFireMg = 0xB573C5B4,
BurstFirePumpShotgun = 0x00BAC39B,
BurstFireHeli = 0x914E786F,
BurstFireMicro = 0x42EF03FD,
ShortBursts = 0x1A92D7DF,
SlowFireTank = 0xE2CA3A71
}
}

2

package.json
{
"name": "alt-enums",
"version": "1.0.2",
"version": "1.0.4",
"description": "An unofficial package containing TypeScript enums for alt:V",

@@ -5,0 +5,0 @@ "types": "index.d.ts",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc