Jump to content

[HELP] DAYZ NEW ITEMS!!!


28WL

Recommended Posts

Look everyone, I tried to add new weapons like using the same weapons ID's like M4 = 31, AK-47 = 30...

And I have some problems, all things are created like new ammo, damage, space and other things for weapons like M4 Carbine, AKM, AK-47, M16A4, FN FAL, FN FNC... but when I'm holding weapons and starting shooting, I'm using first model of the weapon listed ammo like from M4 series first named weapon M4 Carbine and there are no difference If I'll shoot with other like M16A4 - the ammo of M4 Carbine will decrease.

I mean:

I'm shooting with M4 Carbine - M4 Carbine Mag ammo decreases (PERFECT).

I'm shooting now with M16A4 - M16A4 Mag ammo doesn't decreased (SHIT). If I have M4 Carbine Mag - it decreases!!!

I think that there is the problem, that the system searches real GTA:SA weapons models ID's and sets to the first of listed weapons like:

..... Script in inventory.lua for inventory and other shit also in other files.

-----------------------------------------------

WEAPON NAME | WEAPON MODEL ID

IGNORING = SHOOTING AND LIKE WITH UNLIMITED AMMO, JUST NEEDS TO REARM AGAIN.

..

....

{"........"},

{"M4 Carbine", 31"}, - USING AMMO!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

{"M16A4", 31"}, - IGNORING AMMO

{"M16A4()&&@#", 31"}, - IGNORING AMMO

{"M16HSAGSGASKA4", 31"}, - IGNORING AMMO

{"M16A4LOL", 31"}, - IGNORING AMMO

{"&2kjalsjdlahjdlsadjnsadsadasdasd", 31"}, - IGNORING AMMO

{"AK-47", 30"}, - USING AMMO!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

{"AKM", 30"}, - IGNORING AMMO

{"AKS", 30"}, - IGNORING AMMO

{"AKZYOSNJHUG", 30"}, - IGNORING AMMO

.....

..

..

....

{"........"},

{"SVD Dragunov", 34"}, - USING AMMO!!!!!!!!!!!!!!!!!!!!!!!!!

{"Ironsight 33F", 34"}, - IGNORING AMMO

{"AWP", 34"}, - IGNORING AMMO

{"AWP)*@#^!@#TY", 34"}, - IGNORING AMMO

{"Hanibal", 33"}, - USING AMMO!!!!!!!!!!!!!!!!!!!!!!

{"Scout", 33"}, - IGNORING AMMO

{"aspodia9rurjklasjd sad 5Scout", 33"}, - IGNORING AMMO

.....

..

There are difference if I have with sniper rifles that:

Well, I just need the script, which would be with no bugs and which would fuck away all weapons ID's and just use the ammo for directed weapons by their names.

Everyting is good, when I haven't the ammo of that weapon - I can't use it. When I have - I can use it. But.... THE PROBLEM IS WITH AMMO AND ----> WEAPONS IDS.

I would be happy if there would be person, who could help me somehow or share his or other's dude script with me.

Well, you can give me the IP of the server, where are like a lot of AK-47 series weapons, I could hack it maybe and somehow fix/finish my job.

Link to comment
  • 1 year later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...