updateWantedPositionThisFrame
UPDATE_WANTED_POSITION_THIS_FRAME0xBC9490CA15AEA8FBThe GTA V native UPDATE_WANTED_POSITION_THIS_FRAME of the PLAYER namespace, as LS:MP client scripts call it: the global function updateWantedPositionThisFrame, in JavaScript and in Lua.
updateWantedPositionThisFrame(player: Player): voidupdateWantedPositionThisFrame(player: Player)Usage
JavaScript
updateWantedPositionThisFrame(player);Lua
updateWantedPositionThisFrame(player)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
player | Player | 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.
This native is used in both singleplayer and multiplayer scripts.
Always used like this in scripts
updateWantedPositionThisFrame(playerId());Reference
- Namespace
- Player PLAYER
- In the game
void UPDATE_WANTED_POSITION_THIS_FRAME(Player player)- Hash
0xBC9490CA15AEA8FB