givePedToPauseMenu
GIVE_PED_TO_PAUSE_MENU0xAC0BFBDC3BE00E14The 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.
givePedToPauseMenu(ped: Ped, p1: number): voidgivePedToPauseMenu(ped: Ped, p1: integer)Usage
JavaScript
givePedToPauseMenu(ped, p1);Lua
givePedToPauseMenu(ped, p1)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
ped | Ped | number | integer |
p1 | int | number | integer |
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