Everything you need to know
Viper Longshot
Add a distinctive long-range precision weapon to your FiveM server with Viper Longshot, a custom standalone sniper rifle combining an original model, precision long-range handling and ready-to-merge configurations for popular frameworks and inventory systems.
Built around GTA's native sniper rifle mechanics, Viper Longshot works as a proper addon weapon rather than a replacement. It uses standard sniper ammunition, holds 10 rounds and includes its own model, textures, weapon behavior, animation mapping, display label and inventory icon.
Custom Addon Sniper Rifle
Viper Longshot is supplied as a standalone FiveM resource with the weapon hash:
WEAPON_VIPER_LONGSHOT
The resource can run independently from a framework. Server owners only need to register the weapon inside their chosen framework or inventory using the included installation snippets.
Weapon Characteristics
- Custom sniper rifle model and textures
- Separate custom magazine model
- Integrated sniper scope component
- Native GTA weapon handling
- Precision long-range firing behavior
- 10-round magazine capacity
- Uses standard
AMMO_SNIPERammunition - Configured weapon range of 1,500 metres
- Configured base damage value of 101
- High-damage precision shots
- Two-handed sniper rifle animations
- Compatible with aiming, crouched firing and cover
- Custom in-game display name
- Inventory icon included
Ready Installation Configurations
- ox_inventory
- QBCore
- Qbox
- qb-inventory
- ps-inventory
- qs-inventory
- CodeM Inventory
- Origen Inventory
- Default ESX loadouts
- SQL-based ESX item inventories
- Standalone servers
The supplied files are ready-to-merge table entries. They are not additional resources and should be inserted into the corresponding inventory or framework configuration.
Simple Server Integration
Copy the resource, add ensure dl_viper_longshot to server.cfg, merge the configuration matching your inventory and copy the supplied icon into the correct image directory.
The weapon uses the existing sniper ammunition type. No separate custom magazine item is required for its standard configuration.
Key Features
- Original Viper Longshot weapon design
- Standalone addon weapon — no vanilla weapon replacement
- 10-round sniper rifle capacity
- Standard sniper ammunition compatibility
- Complete model, texture and metadata package
- Custom magazine component included
- Integrated scope and first-person scoped aiming
- Weapon animation and ped personality mappings included
- Ready configurations for popular frameworks and inventories
- Standalone give-weapon example included
- Inventory-ready PNG icon
- Editable metadata and integration snippets
- No subscription
Important Information
Back up your framework or inventory files before merging any entries. Servers using weapon-aware inventories must register WEAPON_VIPER_LONGSHOT in the appropriate weapon table. Keep the existing stock sniper ammunition item configured by your inventory.
Need help? Join the ShopFusion Discord.