The Lab
PED native

_SET_PLAYER_GREET_DISABLED_FOR_PED

returns void3 paramsbuild 1207

Prevents player from greeting ped for duration.

Signature

C
void _SET_PLAYER_GREET_DISABLED_FOR_PED(Ped ped, Player player, int duration); // 0x19173C3F15367B54 b1207

Parameters

#NameType
1pedPed
2playerPlayer
3durationint

Facts

Facts about _SET_PLAYER_GREET_DISABLED_FOR_PED
Name
_SET_PLAYER_GREET_DISABLED_FOR_PED
Hash
0x19173C3F15367B54
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(0x19173C3F15367B54, -- _SET_PLAYER_GREET_DISABLED_FOR_PED
  PlayerPedId(), -- Ped ped
  PlayerId(), -- Player player
  0 -- int duration
)
JavaScript
Citizen.invokeNative("0x19173C3F15367B54", // _SET_PLAYER_GREET_DISABLED_FOR_PED
  PlayerPedId(), // Ped ped
  PlayerId(), // Player player
  0 // int duration
);
C#
Function.Call((Hash)0x19173C3F15367B54, // _SET_PLAYER_GREET_DISABLED_FOR_PED
  API.PlayerPedId(), // Ped ped
  API.PlayerId(), // Player player
  0 // int duration
);
All PED natives

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