Knife weapon ID 4
A GTA San Andreas weapon. In SA-MP (SAMP) and open.mp it has the same weapon ID, 4.
Slot 1
Checked on . Where this comes from

On CIT
Where to get it
- F9 crafting: 200 Iron.
- F7 trading: The allowed price for a Knife is $1 to $20,000. AI Trader buys it at $1.
Places and prices from the CIT knowledge base, checked on 6 November 2026.
- Weapon ID
- 4
- MTA name
- Knife
- Name in weapon.dat
KNIFE- Slot (getSlotFromWeapon)
- 1
- Kind
- Melee
- Model ID
- 335
- open.mp name
WEAPON_KNIFE
MTA:SA code
Copy a line into your script.
giveWeapon(player, 4)takeWeapon(player, 4)getWeaponNameFromID(4) -- "Knife"getWeaponIDFromName("Knife") -- 4Game file values (weapon.dat)
A melee weapon: weapon.dat gives it the combo set KNIFE (1 combo) and a range of 1.6.
Other weapons in slot 1
All 47 weapon IDs Skin IDs Vehicle IDs
Where this comes from
- MTA source code: CWeaponNames.cpp (names and slots)
- MTA source code: CWeaponInfo.h (weapon ID order)
- MTA wiki: giveWeapon
- MTA wiki: getWeaponProperty (property names)
- GTA San Andreas weapon.dat from an installed copy of the game
- open.mp docs: Weapon IDs (the same IDs as SA-MP) (checked on 6 November 2026)
- CIT knowledge base (where to get it and prices, checked on 6 November 2026)
Checked on 4 October 2026.
2
3
5
6
7
8
9