specialFunctionDoNotUse
SPECIAL_FUNCTION_DO_NOT_USE0xF9ACF4A08098EA25The GTA V native SPECIAL_FUNCTION_DO_NOT_USE of the PED namespace, as LS:MP client scripts call it: the global function specialFunctionDoNotUse, in JavaScript and in Lua.
specialFunctionDoNotUse(ped: Ped, p1: boolean): voidspecialFunctionDoNotUse(ped: Ped, p1: boolean)Usage
JavaScript
specialFunctionDoNotUse(ped, p1);Lua
specialFunctionDoNotUse(ped, p1)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
ped | Ped | number | integer |
p1 | BOOL | boolean | boolean |
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 was always 1 (true).
Kicks the ped from the current vehicle and keeps the rendering-focus on this ped (also disables its collision). If doing this for your player ped, you'll still be able to drive the vehicle.
Reference
- Namespace
- Ped PED
- In the game
void SPECIAL_FUNCTION_DO_NOT_USE(Ped ped, BOOL p1)- Hash
0xF9ACF4A08098EA25