Weapons - SwitchNetwork/fivem-wiki GitHub Wiki
Lua Example
GiveWeaponToPed(ped, GetHashKey("WEAPON_COMBATPISTOL"), 120, false, false)
The weapons...
Category |
Base Name |
Code Name |
Melee |
Knife |
WEAPON_KNIFE |
Melee |
Brass Knuckle |
WEAPON_KNUCKLE |
Melee |
Nightstick |
WEAPON_NIGHTSTICK |
Melee |
Hammer |
WEAPON_HAMMER |
Melee |
Baseball Bat |
WEAPON_BAT |
Melee |
Golf Club |
WEAPON_GOLFCLUB |
Melee |
Crowbar |
WEAPON_CROWBAR |
Melee |
Broken Bottle |
WEAPON_BOTTLE |
Melee |
Antique Cavalry Dagger |
WEAPON_DAGGER |
Melee |
Hatchet |
WEAPON_HATCHET |
Melee |
Machete |
WEAPON_MACHETE |
Melee |
Flashlight |
WEAPON_FLASHLIGHT |
Melee |
Switchblade |
WEAPON_SWITCHBLADE |
Category |
Base Name |
Code Name |
Special |
Proximity Mine |
WEAPON_PROXMINE |
Special |
BZ Gas |
WEAPON_BZGAS |
Special |
Tear Gas |
WEAPON_SMOKEGRENADE |
Special |
Molotov |
WEAPON_MOLOTOV |
Special |
Fire Extinguisher |
WEAPON_FIREEXTINGUISHER |
Special |
Jerry Can |
WEAPON_PETROLCAN |
Special |
Snowball |
WEAPON_SNOWBALL |
Special |
Flare |
WEAPON_FLARE |
Special |
Ball |
WEAPON_BALL |
Category |
Base Name |
Code Name |
MK2 |
Pistol Mk2 |
WEAPON_PISTOL_MK2 |
MK2 |
SNS Pistol Mk2 |
‘WEAPON_SNSPISTOL_MK2’ |
MK2 |
Revolver Mk2 |
‘WEAPON_REVOLVER_MK2’ |
MK2 |
SMG Mk2 |
‘WEAPON_SMG_MK2’ |
MK2 |
Combat MG Mk2 |
‘WEAPON_COMBATMG_MK2’ |
MK2 |
Assault Rifle Mk2 |
‘WEAPON_ASSAULTRIFLE_MK2’ |
MK2 |
Carbine Rifle Mk2 |
‘WEAPON_CARBINERIFLE_MK2’ |
MK2 |
Special Carbine Mk2 |
‘WEAPON_SPECIALCARBINE_MK2’ |
MK2 |
Bullpup Rifle Mk2 |
‘WEAPON_BULLPUPRIFLE_MK2’ |
MK2 |
Pump Shotgun Mk2 |
‘WEAPON_PUMPSHOTGUN_MK2’ |
MK2 |
Heavy Sniper Mk2 |
‘WEAPON_HEAVYSNIPER_MK2’ |
MK2 |
Marksman Rifle Mk2 |
‘WEAPON_MARKSMANRIFLE_MK2’ |