@citizenfx/client 2.0.7035-1 → 2.0.7056-1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/natives_universal.d.ts +95 -15
- package/package.json +1 -1
package/natives_universal.d.ts
CHANGED
|
@@ -14054,24 +14054,24 @@ declare function GetPedEventData(ped: number, eventType: number, outData?: numbe
|
|
|
14054
14054
|
declare function GetPedExtractedDisplacement(ped: number, worldSpace: boolean): number[];
|
|
14055
14055
|
|
|
14056
14056
|
/**
|
|
14057
|
-
* A getter for [
|
|
14057
|
+
* A getter for [`_SET_PED_EYE_COLOR`](#\_0x50B56988B170AFDF).
|
|
14058
14058
|
* @param ped The target ped
|
|
14059
14059
|
* @return Returns ped's eye colour, or -1 if fails to get.
|
|
14060
14060
|
*/
|
|
14061
14061
|
declare function GetPedEyeColor(ped: number): number;
|
|
14062
|
-
|
|
14063
14062
|
/**
|
|
14064
14063
|
* A getter for [`_SET_PED_EYE_COLOR`](#\_0x50B56988B170AFDF).
|
|
14065
14064
|
* @param ped The target ped
|
|
14066
14065
|
* @return Returns ped's eye colour, or -1 if fails to get.
|
|
14067
14066
|
*/
|
|
14068
|
-
declare function
|
|
14067
|
+
declare function N_0x76bba2cee66d47e9(ped: number): number;
|
|
14068
|
+
|
|
14069
14069
|
/**
|
|
14070
|
-
* A getter for [
|
|
14070
|
+
* A getter for [\_SET_PED_EYE_COLOR](#\_0x50B56988B170AFDF). Returns -1 if fails to get.
|
|
14071
14071
|
* @param ped The target ped
|
|
14072
14072
|
* @return Returns ped's eye colour, or -1 if fails to get.
|
|
14073
14073
|
*/
|
|
14074
|
-
declare function
|
|
14074
|
+
declare function GetPedEyeColor(ped: number): number;
|
|
14075
14075
|
|
|
14076
14076
|
/**
|
|
14077
14077
|
* A getter for [\_SET_PED_FACE_FEATURE](#\_0x71A5C1DBA060049E). Returns 0.0 if fails to get.
|
|
@@ -46362,20 +46362,100 @@ declare function SetPedCombatAbility(ped: number, p1: number): void;
|
|
|
46362
46362
|
* BF_CanUseVehicles = 1,
|
|
46363
46363
|
* BF_CanDoDrivebys = 2,
|
|
46364
46364
|
* BF_CanLeaveVehicle = 3,
|
|
46365
|
-
*
|
|
46365
|
+
* BF_CanUseDynamicStrafeDecisions = 4,
|
|
46366
|
+
* BF_AlwaysFight = 5,
|
|
46367
|
+
* _0x66BB9FCC = 6,
|
|
46368
|
+
* _0x6837DA41 = 7,
|
|
46369
|
+
* _0xB4A13A5A = 8,
|
|
46370
|
+
* _0xEE326AAD = 9,
|
|
46371
|
+
* _0x7DF2CCFA = 10,
|
|
46372
|
+
* _0x0036D422 = 11,
|
|
46373
|
+
* BF_BlindFireWhenInCover = 12,
|
|
46374
|
+
* BF_Aggressive = 13,
|
|
46375
|
+
* BF_CanInvestigate = 14,
|
|
46376
|
+
* BF_HasRadio = 15,
|
|
46377
|
+
* _0x6BDE28D1 = 16,
|
|
46378
|
+
* BF_AlwaysFlee = 17,
|
|
46379
|
+
* _0x7852797D = 18,
|
|
46380
|
+
* _0x33497B95 = 19,
|
|
46366
46381
|
* BF_CanTauntInVehicle = 20,
|
|
46367
|
-
*
|
|
46368
|
-
*
|
|
46382
|
+
* BF_CanChaseTargetOnFoot = 21,
|
|
46383
|
+
* BF_WillDragInjuredPedsToSafety = 22,
|
|
46384
|
+
* _0xCD7168B8 = 23,
|
|
46385
|
+
* BF_UseProximityFiringRate = 24,
|
|
46386
|
+
* _0x48F914F8 = 25,
|
|
46387
|
+
* _0x2EA543D0 = 26,
|
|
46388
|
+
* BF_PerfectAccuracy = 27,
|
|
46389
|
+
* BF_CanUseFrustratedAdvance = 28,
|
|
46390
|
+
* _0x3D131AC1 = 29,
|
|
46391
|
+
* _0x3AD95F27 = 30,
|
|
46392
|
+
* BF_MaintainMinDistanceToTarget = 31,
|
|
46393
|
+
* _0xEAD68AD2 = 32,
|
|
46394
|
+
* _0xA206C2E0 = 33,
|
|
46395
|
+
* BF_CanUsePeekingVariations = 34,
|
|
46396
|
+
* _0xA5715184 = 35,
|
|
46397
|
+
* _0xD5265533 = 36,
|
|
46398
|
+
* _0x2B84C2BF = 37,
|
|
46399
|
+
* BF_DisableBulletReactions = 38,
|
|
46400
|
+
* BF_CanBust = 39,
|
|
46401
|
+
* _0xAA525726 = 40,
|
|
46402
|
+
* BF_CanCommandeerVehicles = 41,
|
|
46403
|
+
* BF_CanFlank = 42,
|
|
46404
|
+
* BF_SwitchToAdvanceIfCantFindCover = 43,
|
|
46405
|
+
* BF_SwitchToDefensiveIfInCover = 44,
|
|
46406
|
+
* _0xEB4786A0 = 45,
|
|
46407
|
+
* BF_CanFightArmedPedsWhenNotArmed = 46,
|
|
46408
|
+
* _0xA08E9402 = 47,
|
|
46409
|
+
* _0x952EAD7D = 48,
|
|
46410
|
+
* BF_UseEnemyAccuracyScaling = 49,
|
|
46411
|
+
* BF_CanCharge = 50,
|
|
46412
|
+
* _0xDA8C2BD3 = 51,
|
|
46413
|
+
* _0x6562F017 = 52,
|
|
46414
|
+
* _0xA2C3D53B = 53,
|
|
46415
|
+
* BF_AlwaysEquipBestWeapon = 54,
|
|
46416
|
+
* BF_CanSeeUnderwaterPeds = 55,
|
|
46417
|
+
* _0xF619486B = 56,
|
|
46418
|
+
* _0x61EB63A3 = 57,
|
|
46419
|
+
* BF_DisableFleeFromCombat = 58,
|
|
46420
|
+
* _0x8976D12B = 59,
|
|
46421
|
+
* BF_CanThrowSmokeGrenade = 60,
|
|
46422
|
+
* BF_NonMissionPedsFleeFromThisPedUnlessArmed = 61,
|
|
46423
|
+
* _0x5452A10C = 62,
|
|
46369
46424
|
* BF_FleesFromInvincibleOpponents = 63,
|
|
46370
|
-
*
|
|
46371
|
-
*
|
|
46425
|
+
* BF_DisableBlockFromPursueDuringVehicleChase = 64,
|
|
46426
|
+
* BF_DisableSpinOutDuringVehicleChase = 65,
|
|
46427
|
+
* BF_DisableCruiseInFrontDuringBlockDuringVehicleChase = 66,
|
|
46428
|
+
* _0x0B404731 = 67,
|
|
46429
|
+
* BF_DisableReactToBuddyShot = 68,
|
|
46430
|
+
* _0x7FFD6AEB = 69,
|
|
46431
|
+
* _0x51F4AEF8 = 70,
|
|
46432
|
+
* BF_PermitChargeBeyondDefensiveArea = 71,
|
|
46433
|
+
* _0x63E0A8E2 = 72,
|
|
46434
|
+
* _0xDF974436 = 73,
|
|
46435
|
+
* _0x556C080B = 74,
|
|
46436
|
+
* _0xA4D50035 = 75,
|
|
46437
|
+
* BF_SetDisableShoutTargetPositionOnCombatStart = 76,
|
|
46438
|
+
* BF_DisableRespondedToThreatBroadcast = 77,
|
|
46439
|
+
* _0xCBB01765 = 78,
|
|
46440
|
+
* _0x4F862ED4 = 79,
|
|
46441
|
+
* _0xEF9C7C40 = 80,
|
|
46442
|
+
* _0xE51B494F = 81,
|
|
46443
|
+
* _0x054D0199 = 82,
|
|
46444
|
+
* _0xD36BCE94 = 83,
|
|
46445
|
+
* _0xFB11F690 = 84,
|
|
46446
|
+
* _0xD208A9AD = 85,
|
|
46447
|
+
* BF_AllowDogFighting = 86,
|
|
46448
|
+
* _0x07A6E531 = 87,
|
|
46449
|
+
* _0x34F9317B = 88,
|
|
46450
|
+
* _0x4240F5A9 = 89,
|
|
46451
|
+
* _0xEE129DBD = 90,
|
|
46452
|
+
* _0x053AEAD9 = 91,
|
|
46372
46453
|
* };
|
|
46373
46454
|
* ```
|
|
46374
|
-
*
|
|
46375
|
-
*
|
|
46376
|
-
*
|
|
46377
|
-
*
|
|
46378
|
-
* Research thread: gtaforums.com/topic/833391-researchguide-combat-behaviour-flags/
|
|
46455
|
+
* The source for this enum is [here](https://alexguirre.github.io/rage-parser-dumps/dump.html?game=gta5\&build=2944#\_0x0E8E7201).
|
|
46456
|
+
* @param ped The ped to set attributes to.
|
|
46457
|
+
* @param attributeIndex The attribute index to set.
|
|
46458
|
+
* @param enabled A boolean to enable/disable the attribute (true/false).
|
|
46379
46459
|
*/
|
|
46380
46460
|
declare function SetPedCombatAttributes(ped: number, attributeIndex: number, enabled: boolean): void;
|
|
46381
46461
|
|