Installations
server.cfg
Add the command to your server.cfg file and make sure that the script is started.
ensure mt_headshot
config.lua
You can add more weapons by creating additional entries in the "Weapons" table. For example, you could add a line like:
{name = "WEAPON_PISTOL", duration = 0.3},
Here, the weapon "Pistol" is defined with a duration of 0.3 seconds. You can add more weapons with their corresponding names and duration settings by creating similar entries in the "Weapons" table.
Config = {
Weapons = {
{name = "WEAPON_UNARMED", duration = 0.3},
{name = "WEAPON_NIGHTSTICK", duration = 0.3},
{name = "WEAPON_APPISTOL", duration = 0.3},
{name = "WEAPON_CARBINERIFLE", duration = 0.3},
{name = "WEAPON_ASSAULTRIFLE", duration = 0.3},
-- Add more weapons here
}
}
-- Setting for SetPedSuffersCriticalHits
Config.setPedSuffersCriticalHits = false
Last updated
Was this helpful?