Skip to main content

PedClearAllWeapons

Description

Removes all weapons from a ped. If used on the player, the rubber band ball icon may still appear in the weapon wheel, but it will be unusable. If a rubber band ball was recently thrown, the player may still regain it after the usual cooldown.

function PedClearAllWeapons(ped) --[[ ... ]] end

Parameters

  • ped: integer - The ped whose weapons will be cleared.

Return Values

None.

Example

None.