Parity

AP Pistol

WEAPON_APPISTOL

AP Pistol is a pistol weapon in GTA V. In FiveM scripts it is WEAPON_APPISTOL, hash 584646201.

Display name
AP Pistol
Group
Pistol
Damage per hit
28
Magazine
18
Fire rate
600 shots/min (0.1 s between shots)
Range
120 m
Damage type
Bullet
Hash
584646201
Signed hash
584646201
Hex
0x22D8FE39
AP Pistol (WEAPON_APPISTOL) in GTA V

Give it in a FiveM script

FiveM's Lua turns a name in backticks into its hash when the script loads, so `weapon_appistol` and 584646201 are the same value.

lua
-- give the AP Pistol with 250 rounds
GiveWeaponToPed(PlayerPedId(), `weapon_appistol`, 250, false, true)

-- server side (OneSync), for player id src
GiveWeaponToPed(GetPlayerPed(src), `weapon_appistol`, 250, false, true)

The data comes from GTA V's own game files. Parity, the FiveM anticheat, shows these names instead of raw hashes in your server logs. Browse all GTA V weapons.