PedClient

requestPedheadshotImgUpload

REQUEST_PEDHEADSHOT_IMG_UPLOAD0xF0DAEF2F545BEE25

The GTA V native REQUEST_PEDHEADSHOT_IMG_UPLOAD of the PED namespace, as LS:MP client scripts call it: the global function requestPedheadshotImgUpload, in JavaScript and in Lua.

SignatureJavaScript
requestPedheadshotImgUpload(id: number): boolean
SignatureLua
requestPedheadshotImgUpload(id: integer): boolean

Usage

JavaScript
const result = requestPedheadshotImgUpload(id);
Lua
local result = requestPedheadshotImgUpload(id)

Parameters

ParameterTypeJavaScriptLua
idintnumberinteger

Returns

BOOL JavaScript boolean, Lua boolean

Reference

Namespace
Ped PED
In the game
BOOL REQUEST_PEDHEADSHOT_IMG_UPLOAD(int id)
Hash
0xF0DAEF2F545BEE25

Open in the interactive natives reference