Security HUD
System Watchdog
×
Threads Scanned
-- / --
SYS. LOAD --%
AI SHIELD ACTIVE
DMCA Policy
×

📋 DMCA Compliance

This platform and community fully complies with the Digital Millennium Copyright Act (DMCA) and international copyright laws. We take all copyright protection seriously.

🛡️ Copyright Protection

If you believe a posted item belongs to you or violates your copyright, you may file a DMCA takedown request through our official channels. Upon receiving a valid claim, the infringing content will be removed within 24 hours.

What's new
×
Fiveguard

Script CORE WEAPON ESX

HARRY7

Gold Elite
Joined
Mar 27, 2021
Messages
42
Reaction score
115
Points
246
hey some error occuring
 

Attachments

  • Screenshot (98).png
    Screenshot (98).png
    286.8 KB · Views: 481

Sr.Zek

Silver Elite
Joined
Nov 17, 2021
Messages
28
Reaction score
69
Points
231
Location
spain
replace your config with this
Config = {
UsingCoreEvidence = false, -- If you are using Core Evidence ( ) it adds (undetectable bullet shells)
SetVestIfNone = true, -- Sets a vest to a player when armor used
VestId = 5, -- The id of the vest set
OpenCommand = 'weapon', -- The key to open UI menu (Leave blank if you dont want to open with command)
UIOpenKey = '', -- The key to open UI menu (Leave blank if you dont want to open with a key)
--Blip information ( )
AttachmentStoreShowBlip = true,
AttachmentStoreBlip = 175,
AttachmentStoreBlipColor = 49,
AttachmentStoreBlipName = 'Attachment Store',
AttachmentStoreMarker = 27,
AttachmentStoreMarkerSize = 1.2,
AttachmentStoreMarkerColor = {252, 20, 20},
AttachmentStoreItems = { -- Attachment Store Prices
['weapon_clips'] = {
['pistol_clip'] = 100,
['smg_clip'] = 400,
['lightsmg_clip'] = 300,
['rifle_clip'] = 700,
['shotgun_clip'] = 500,
['sniper_clip'] = 2000
},
['weapon_attachments'] = {
['weapon_tint_green'] = 200,
['weapon_tint_gold'] = 500,
['weapon_tint_pink'] = 200,
['weapon_tint_army'] = 200,
['weapon_tint_lspd'] = 200,
['weapon_tint_orange'] = 200,
['weapon_tint_platinum'] = 300,
['weapon_luxary_finish'] = 1000,
['weapon_flashlight'] = 500,
['weapon_suppressor'] = 800,
['weapon_clip_extended'] = 300
},
['misc'] = {
['armor'] = 500
}

},
AttachmentStores = {
vector3(-328.35314941406,6078.8203125,31.4547901153), -- PALETO
vector3(1695.8673095703,3755.1027832031,34.70535278), -- SANDY
vector3(18.349586486816,-1111.1280517578,29.7970314) -- LS
},
Text = {
['attachment_store_clip_category'] = 'Weapon Clips',
['attachment_store_misc_category'] = 'Misc',
['attachment_store_attachments_category'] = 'Weapon Attachments',
['open_attachment_store'] = '[~r~E~w~] Open Attachment Store',
['attachment_store_name'] = 'Attachment Store',
['unsuccessful_purchase'] = 'You dont have enough money or available space',
['successful_purchase'] = 'You bought {item}',
['clip_full'] = 'Clip is full',
['wrong_clip'] = 'Wrong clip for gun',
['full_armor'] = 'Your armor is already full',
['attachment_equipped'] = 'Attachment already equipped',
['attachment_not_taken'] = 'Attachment cant be applied'
}

}
-- Only change if you know what are you doing!
function SendMessage(msg)
--SetNotificationTextEntry('STRING')
--AddTextComponentString(msg)
--DrawNotification(0,1)
--EXAMPLE USED IN VIDEO
exports['mythic_notify']:SendAlert('inform', msg)
end
 

HARRY7

Gold Elite
Joined
Mar 27, 2021
Messages
42
Reaction score
115
Points
246
replace your config with this
Config = {
UsingCoreEvidence = false, -- If you are using Core Evidence ( ) it adds (undetectable bullet shells)
SetVestIfNone = true, -- Sets a vest to a player when armor used
VestId = 5, -- The id of the vest set
OpenCommand = 'weapon', -- The key to open UI menu (Leave blank if you dont want to open with command)
UIOpenKey = '', -- The key to open UI menu (Leave blank if you dont want to open with a key)
--Blip information ( )
AttachmentStoreShowBlip = true,
AttachmentStoreBlip = 175,
AttachmentStoreBlipColor = 49,
AttachmentStoreBlipName = 'Attachment Store',
AttachmentStoreMarker = 27,
AttachmentStoreMarkerSize = 1.2,
AttachmentStoreMarkerColor = {252, 20, 20},
AttachmentStoreItems = { -- Attachment Store Prices
['weapon_clips'] = {
['pistol_clip'] = 100,
['smg_clip'] = 400,
['lightsmg_clip'] = 300,
['rifle_clip'] = 700,
['shotgun_clip'] = 500,
['sniper_clip'] = 2000
},
['weapon_attachments'] = {
['weapon_tint_green'] = 200,
['weapon_tint_gold'] = 500,
['weapon_tint_pink'] = 200,
['weapon_tint_army'] = 200,
['weapon_tint_lspd'] = 200,
['weapon_tint_orange'] = 200,
['weapon_tint_platinum'] = 300,
['weapon_luxary_finish'] = 1000,
['weapon_flashlight'] = 500,
['weapon_suppressor'] = 800,
['weapon_clip_extended'] = 300
},
['misc'] = {
['armor'] = 500
}

},
AttachmentStores = {
vector3(-328.35314941406,6078.8203125,31.4547901153), -- PALETO
vector3(1695.8673095703,3755.1027832031,34.70535278), -- SANDY
vector3(18.349586486816,-1111.1280517578,29.7970314) -- LS
},
Text = {
['attachment_store_clip_category'] = 'Weapon Clips',
['attachment_store_misc_category'] = 'Misc',
['attachment_store_attachments_category'] = 'Weapon Attachments',
['open_attachment_store'] = '[~r~E~w~] Open Attachment Store',
['attachment_store_name'] = 'Attachment Store',
['unsuccessful_purchase'] = 'You dont have enough money or available space',
['successful_purchase'] = 'You bought {item}',
['clip_full'] = 'Clip is full',
['wrong_clip'] = 'Wrong clip for gun',
['full_armor'] = 'Your armor is already full',
['attachment_equipped'] = 'Attachment already equipped',
['attachment_not_taken'] = 'Attachment cant be applied'
}

}
-- Only change if you know what are you doing!
function SendMessage(msg)
--SetNotificationTextEntry('STRING')
--AddTextComponentString(msg)
--DrawNotification(0,1)
--EXAMPLE USED IN VIDEO
exports['mythic_notify']:SendAlert('inform', msg)
end
hey thanku got it worked do u know where to increase the clip size from 30 i dont anthing in the cl and server
 

Xdado362

Member
Joined
Jan 8, 2022
Messages
1
Reaction score
1
Points
156
Location
Italia
replace your config with this
Config = {
UsingCoreEvidence = false, -- If you are using Core Evidence ( ) it adds (undetectable bullet shells)
SetVestIfNone = true, -- Sets a vest to a player when armor used
VestId = 5, -- The id of the vest set
OpenCommand = 'weapon', -- The key to open UI menu (Leave blank if you dont want to open with command)
UIOpenKey = '', -- The key to open UI menu (Leave blank if you dont want to open with a key)
--Blip information ( )
AttachmentStoreShowBlip = true,
AttachmentStoreBlip = 175,
AttachmentStoreBlipColor = 49,
AttachmentStoreBlipName = 'Attachment Store',
AttachmentStoreMarker = 27,
AttachmentStoreMarkerSize = 1.2,
AttachmentStoreMarkerColor = {252, 20, 20},
AttachmentStoreItems = { -- Attachment Store Prices
['weapon_clips'] = {
['pistol_clip'] = 100,
['smg_clip'] = 400,
['lightsmg_clip'] = 300,
['rifle_clip'] = 700,
['shotgun_clip'] = 500,
['sniper_clip'] = 2000
},
['weapon_attachments'] = {
['weapon_tint_green'] = 200,
['weapon_tint_gold'] = 500,
['weapon_tint_pink'] = 200,
['weapon_tint_army'] = 200,
['weapon_tint_lspd'] = 200,
['weapon_tint_orange'] = 200,
['weapon_tint_platinum'] = 300,
['weapon_luxary_finish'] = 1000,
['weapon_flashlight'] = 500,
['weapon_suppressor'] = 800,
['weapon_clip_extended'] = 300
},
['misc'] = {
['armor'] = 500
}

},
AttachmentStores = {
vector3(-328.35314941406,6078.8203125,31.4547901153), -- PALETO
vector3(1695.8673095703,3755.1027832031,34.70535278), -- SANDY
vector3(18.349586486816,-1111.1280517578,29.7970314) -- LS
},
Text = {
['attachment_store_clip_category'] = 'Weapon Clips',
['attachment_store_misc_category'] = 'Misc',
['attachment_store_attachments_category'] = 'Weapon Attachments',
['open_attachment_store'] = '[~r~E~w~] Open Attachment Store',
['attachment_store_name'] = 'Attachment Store',
['unsuccessful_purchase'] = 'You dont have enough money or available space',
['successful_purchase'] = 'You bought {item}',
['clip_full'] = 'Clip is full',
['wrong_clip'] = 'Clip per pistola sbagliata',
['full_armor'] = 'La tua armatura è già piena',
['attachment_equipaggiato'] = 'Accessorio già equipaggiato',
['attachment_not_taken'] = 'Impossibile applicare l'allegato'
}

}
-- Cambia solo se sai cosa stai facendo!
funzione SendMessage(msg)
--SetNotificationTextEntry('STRING')
--AddTextComponentString(msg)
--DrawNotifica(0,1)
--ESEMPIO UTILIZZATO NEL VIDEO
exports['mythic_notify']:SendAlert('inform', msg)
fine
Hello, it works perfectly but when the server restarts everything disappears even when the player exits and returns from the game, would you know how to solve?
 

Sr.Zek

Silver Elite
Joined
Nov 17, 2021
Messages
28
Reaction score
69
Points
231
Location
spain
Same issue. Had to take it out. Couldn’t figure out how to make it save things to the db.
hey thanku got it worked do u know where to increase the clip size from 30 i dont anthing in the cl and server
i'm having the same issue =[
I do not use the script but I can take a look at it to see a possible solution, at this moment I am sick, when I recover I comment if I make any arrangements
 

ImArteX21

Member
Joined
Dec 26, 2021
Messages
4
Reaction score
1
Points
146
Location
Pamplona
I do not use the script but I can take a look at it to see a possible solution, at this moment I am sick, when I recover I comment if I make any arrangements
Any solution to save the attachments on a sql?
 
Top