RedM Natives

BLACKBOARDS

CategoryAI
Rows188

Some Blackboard Values

Visible changes can only be seen with few "script" blackboards. It seems Rockstars use blackboards as decorators to check some actions status.

Example

	-- SET_PED_BLACKBOARD_FLOAT (visible changes only for "script" blackboards)
	-- to cancel blackboard float use value 0.0
	-- last parameter is duration (in frames, -1 = forever)
	Citizen.InvokeNative(0x437C08DB4FEBE2BD, PlayerPedId(), "MetalDetectorDetectionValue", 1.0, -1)   -- the higher the value, the more metal detector vibrates

	-- SET_PED_BLACKBOARD_BOOL (visible changes only for "script" blackboards)
	-- last parameter is duration (in frames, -1 = forever)
	Citizen.InvokeNative(0xCB9401F918CB0F75, PlayerPedId(), "NarrowLedge", true, 1000)  -- apply "narrow" walkstyle for 1000 frames (~10 seconds)

	-- SET_PED_BLACKBOARD_STRING (visible changes only for "script" blackboards)
	-- last parameter is duration (in frames, -1 = forever)
	Citizen.InvokeNative(0xA762C9D6CF165E0D, PlayerPedId(), "BodyPartChained", "Legs", 5000)  -- apply "legschained" walkstyle for 5000 frames (~50 seconds)

	-- SET_PED_BLACKBOARD_INT
	-- last parameter is duration (in frames, -1 = forever)
	-- in this example the native N_0x2e036f0480b8bf02() returns the amount of time elapsed since joining game
	Citizen.InvokeNative(0x5F53010C4C3F6BAF, PlayerPedId(), "prsn_ilo_time", N_0x2e036f0480b8bf02(), -1)  --
<h2>Some known Blackboard Values.</h2>
188 rows
#blackboard_typeblackboard_sectionblackboard_nameblackboard_range_or_variantsNote
1floatscriptCautiousfrom 0.1 till 1.0
2floatscriptStealthfrom 0.1 till 1.0
3floatscriptBewilderedfrom 0.1 till 1.0
4floatscriptMetalDetectorDetectionValuefrom 0.1 till 1.0
5floatscriptSickfrom 0.7 till 1.0
6floatscriptStealthfrom 0.1 till 1.0
7boolscriptBewildered
8boolscriptblockHeadTailAdditives
9boolscriptCarryBagAndersLeft
10boolscriptCarryBagAndersRight
11boolscriptCarryFishingpole
12boolscriptCarryManure
13boolscriptCold_Empty_Stamina
14boolscriptCold_Low_Stamina
15boolscriptCold_Stamina
16boolscriptCrafting_SatchelUpgrade
17boolscriptDoHerdSmack
18boolscriptDoHerdWhip
19boolscriptDrunkStumbleActive
20boolscriptFishingRodInLeftHand
21boolscriptFishingRodInRightHand
22boolscriptForceHandsOnBelt
23boolscriptFreeRoamSpawn
24boolscriptGRAYOUT_ITEM_DROP
25boolscriptGRAYOUT_ITEM_USE
26boolscriptHandsOnBelt
27boolscriptHandsup
28boolscriptin_a_dress
29boolscriptinInspectionMode
30boolscriptIsCold
31boolscriptIsColdFast
32boolscriptisInspectingGround
33boolscriptisLowDeadEyeCoreActive
34boolscriptisLowHealthCoreActive
35boolscriptisLowStaminaCoreActive
36boolscriptIsSearching
37boolscriptIsSeductive
38boolscriptIsWithinHornetsVolume
39boolscriptLanternHeldHigh
40boolscriptMP_Style_Casual
41boolscriptMP_Style_Crazy
42boolscriptmp_style_drunk
43boolscriptMP_Style_EasyRider
44boolscriptMP_Style_Flamboyant
45boolscriptMP_Style_Greenhorn
46boolscriptMP_Style_Gunslinger
47boolscriptmp_style_inquisitive
48boolscriptMP_Style_Refined
49boolscriptMP_Style_SilentType
50boolscriptMP_Style_Veteran
51boolscriptNarrowLedge
52boolscriptodr3_basement
53boolscriptodr3_outside
54boolscriptOnFootIntimidateForced
55boolscriptPickUpManure
56boolscriptPlayEquipGlovesFidget
57boolscriptPlayEquipHatFidget
58boolscriptPlayLeadin
59boolscriptPlayUnequipGlovesFidget
60boolscriptPlayUnequipHatFidget
61boolscriptPutDownManure
62boolscriptSadPassenger
63boolscriptSpawnMissionIntro
64boolscriptUrgent_Look_Back
65boolscriptUrgent_Look_Left
66boolscriptUrgentGlances
67stringscriptBodyPartChainedLegs
68boolBlockInjuredLoco
69boolDoAFidget
70boolDoBulletFlinch
71boolDoLowStarts
72boolEagleEye
73boolFoliageActive
74boolfrontpassenger
75boolHandsOnBelt
76boolHandsup
77boolHorseLeadingActive
78boolInCombat
79boolIsAiming
80boolIsAimingMounted
81boolIsClimbExit
82boolIsDoingItemInteraction
83boolIsDrunk
84boolIsEnteringCover
85boolIsFocusTarget
86boolIsInInterior
87boolisInspecting
88boolIsLanding
89boolisLowStaminaCoreActive
90boolIsOnFire
91boolIsPlayer
92boolOnFootIntimidate
93boolonStairs
94boolpassenger
95boolPedIsWearingHat
96boolRider
97boolRiderAiming
98boolRiderBlockIdleVariations
99boolRiderDoWhip
100boolRiderIntensityHigh