HUDClient

givePedToPauseMenu

GIVE_PED_TO_PAUSE_MENU0xAC0BFBDC3BE00E14

The GTA V native GIVE_PED_TO_PAUSE_MENU of the HUD namespace, as LS:MP client scripts call it: the global function givePedToPauseMenu, in JavaScript and in Lua.

SignatureJavaScript
givePedToPauseMenu(ped: Ped, p1: number): void
SignatureLua
givePedToPauseMenu(ped: Ped, p1: integer)

Usage

JavaScript
givePedToPauseMenu(ped, p1);
Lua
givePedToPauseMenu(ped, p1)

Parameters

ParameterTypeJavaScriptLua
pedPednumberinteger
p1intnumberinteger

Returns

Nothing. In JavaScript the call evaluates to undefined.

Notes

From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.

p1 is either 1 or 2 in the PC scripts.

Reference

Namespace
HUD HUD
In the game
void GIVE_PED_TO_PAUSE_MENU(Ped ped, int p1)
Hash
0xAC0BFBDC3BE00E14

Open in the interactive natives reference