Price
$1.00[PAID][ESX] Ammo System Script
A script by VS-Shop
Full Description
[ESX] Weapon Ammo Script
Enter your own item in the conig to create a magazine for a specific weapon
Preview
Tebex - Script for $1.00
You can enter your own item in the config and the weapon to create your magazine
Config = {}
-- [DE] Definition der TriggerCustomEvent-Funktion
-- [EN] Definition of the TriggerCustomEvent function
Config.TriggerCustomEvent = function(eventType, title, duration, message)
TriggerEvent(eventType, color, title, message)
end
Config.Weapons = {
['pistolclip'] = {
weapons = {
'WEAPON_PISTOL',
'WEAPON_PISTOL_MK2',
'WEAPON_COMBATPISTOL',
},
ammoAmount = 40,
},
['smgclip'] = {
weapons = {
'WEAPON_MICROSMG',
'WEAPON_SMG',
'WEAPON_SMG_MK2',
},
ammoAmount = 30,
},
['rifleclip'] = {
weapons = {
'weapon_advancedrifle',
'WEAPON_NEW2',
},
ammoAmount = 20,
},
}
-- and add more
-- [DE] Konfiguration für verschiedene Benachrichtigungsarten
-- [EN] -- Configuration for different notification types
Config.NotifyTrigger1 = {
type = "notifications",
color = "#FF8C00",
title = "Information",
message = "Keine Spieler in der Nähe"
}
Config.NotifyTrigger2 = {
type = "notifications",
color = "#FF0000",
title = "Error",
message = "Benutzerdefinierte Fehlermeldung hier"
}
-- [DE] Eigener Befehl zum Entfernen der Munition
-- [EN] Own command to remove the ammunition
Config.CustomCommandName = 'unequip'
}
Dependencies : ESX Legacy
| Code is accessible | No |
|---|---|
| Subscription-based | No |
| Requirements | ESX Legacy |
| Support | Yes |
Community Reviews
See what others are saying about this script.
Leave a Review
Share your experience and help others.