setPedCycleVehicleWeaponsOnly
SET_PED_CYCLE_VEHICLE_WEAPONS_ONLY0x50276EF8172F5F12The GTA V native SET_PED_CYCLE_VEHICLE_WEAPONS_ONLY of the WEAPON namespace, as LS:MP client scripts call it: the global function setPedCycleVehicleWeaponsOnly, in JavaScript and in Lua.
setPedCycleVehicleWeaponsOnly(ped: Ped): voidsetPedCycleVehicleWeaponsOnly(ped: Ped)Usage
JavaScript
setPedCycleVehicleWeaponsOnly(ped);Lua
setPedCycleVehicleWeaponsOnly(ped)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
ped | Ped | number | integer |
Returns
Nothing. In JavaScript the call evaluates to undefined.
Reference
- Namespace
- Weapon WEAPON
- In the game
void SET_PED_CYCLE_VEHICLE_WEAPONS_ONLY(Ped ped)- Hash
0x50276EF8172F5F12- Introduced
- Game build 1734 legacy numbering