SHAPETEST

GET_SHAPE_TEST_RESULT_INCLUDING_MATERIAL

0x65287525D951F6BE Jenkins: 0x4301E10C

Signature

// SHAPETEST
int GET_SHAPE_TEST_RESULT_INCLUDING_MATERIAL(int shapeTestHandle, BOOL* hit, Vector3* endCoords, Vector3* surfaceNormal, Hash* materialHash, Entity* entityHit)

Parameters

Type Name
int shapeTestHandle
BOOL* hit
Vector3* endCoords
Vector3* surfaceNormal
Hash* materialHash
Entity* entityHit

Return type int

Build 323

Former names

  • _GET_SHAPE_TEST_RESULT_EX

Documentation

Returns the result of a shape test, also returning the material of any touched surface. When used with an asynchronous shape test, this native should be looped until returning 0 or 2, after which the handle is invalidated. Unless the return value is 2, the other return values are undefined.

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.