M MY Multiplayer: Wiki
Side
Kind

setPedDoubleWeapons

Client

Sets whether a ped also holds a copy of its weapon in the left hand.

bool setPedDoubleWeapons(ped ped, bool doubleWeapons)

Parameters

NameTypeDescription
pedpedThe ped or player.
doubleWeaponsbooltrue to show the weapon in both hands.

Returns

true if it was set, false if the ped does not exist in the game.

The current weapon's model is attached again at once.

Example

setPedDoubleWeapons(localPlayer, true)

See also