setPlayerVehicleWeaponToNonHoming
SET_PLAYER_VEHICLE_WEAPON_TO_NON_HOMING0x237440E46D918649The GTA V native SET_PLAYER_VEHICLE_WEAPON_TO_NON_HOMING of the PLAYER namespace, as LS:MP client scripts call it: the global function setPlayerVehicleWeaponToNonHoming, in JavaScript and in Lua.
setPlayerVehicleWeaponToNonHoming(p0: any): voidsetPlayerVehicleWeaponToNonHoming(p0: any)Usage
JavaScript
setPlayerVehicleWeaponToNonHoming(p0);Lua
setPlayerVehicleWeaponToNonHoming(p0)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
p0 | Any | any | any |
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.
Unsets playerPed+330 if the current weapon has certain flags.
Reference
- Namespace
- Player PLAYER
- In the game
void SET_PLAYER_VEHICLE_WEAPON_TO_NON_HOMING(Any p0)- Hash
0x237440E46D918649- Introduced
- Game build 1290 legacy numbering