RedM Index logoRedM Index
NativesHashesClothesBlipsPropsItem Tool
Sign inGet started

Reference

  • Natives
  • Hashes
  • Clothes
  • Blips
  • Props

Namespace

  1. Reference
  2. Natives
  3. REMOVE_WEAPON_FROM_PED

REMOVE_WEAPON_FROM_PED

``` This native removes a specified weapon from your selected ped. Weapon Hashes: pastebin.com/0wwDZgkF Example: C#: Function.Call(Hash.REMOVE_WEAPON_FROM_PED, Game.Player.Character, 0x99B507EA); C++: WEAPON::REMOVE_WEAPON_FROM_PED(PLAYER::PLAYER_PED_ID(), 0x99B507EA); The code above removes the knife from the player. ``` **This is the server-side RPC native equivalent of the client native [REMOVE_WEAPON_FROM_PED](?\_0x4899CB088EDF59B8).**

CFX

Signature

lua
RemoveWeaponFromPed(PlayerPedId(), GetHashKey("..."))
-- returns void

Parameters

NameTypeDescription
Ped—
Hash—

Usage

lua
RemoveWeaponFromPed(PlayerPedId(), GetHashKey("..."))

Generated from the native name, hash, and parameter list. Add a real example.

Details

Hash
API set
Source
cfx

Source: cfx

On this page

  • Signature
  • Parameters
  • Usage
  • Details