The Lab
PED native

SET_PED_ACCURACY

returns void2 paramsbuild 1207

Sets the shooting accuracy of ped from 0 to 100.

Signature

C
void SET_PED_ACCURACY(Ped ped, int accuracy); // 0x7AEFB85C1D49DEB6 b1207

Parameters

#NameType
1pedPed
2accuracyint

Facts

Facts about SET_PED_ACCURACY
Name
SET_PED_ACCURACY
Hash
0x7AEFB85C1D49DEB6
Namespace
Returns
void
Game build
1207

Examples

Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.

Lua
Citizen.InvokeNative(0x7AEFB85C1D49DEB6, -- SET_PED_ACCURACY
  PlayerPedId(), -- Ped ped
  0 -- int accuracy
)
JavaScript
Citizen.invokeNative("0x7AEFB85C1D49DEB6", // SET_PED_ACCURACY
  PlayerPedId(), // Ped ped
  0 // int accuracy
);
C#
Function.Call((Hash)0x7AEFB85C1D49DEB6, // SET_PED_ACCURACY
  API.PlayerPedId(), // Ped ped
  0 // int accuracy
);
All PED natives

Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.