PED

GET_PED_EXTRACTED_DISPLACEMENT

0xE0AF41401ADF87E3 Jenkins: 0x5231F901

Signature

// PED
Vector3 GET_PED_EXTRACTED_DISPLACEMENT(Ped ped, BOOL worldSpace)

Parameters

Type Name
Ped ped
BOOL worldSpace

Return type Vector3

Build 323

Documentation

Gets the offset the specified ped has moved since the previous tick. If worldSpace is false, the returned offset is relative to the ped. That is, if the ped has moved 1 meter right and 5 meters forward, it'll return 1,5,0. If worldSpace is true, the returned offset is relative to the world. That is, if the ped has moved 1 meter on the X axis and 5 meters on the Y axis, it'll return 1,5,0.

APPI RP

Join us on FiveM

Semi-Serious GTA V roleplay on APPI RolePlay — hop into Discord for rules and onboarding, then follow the guide when you're ready to connect.