Jump to content

[HELP] MTA dayz backpack


Actimel

Recommended Posts

Posted

Hello everyone i want ask about backpack position because i add new backpack and when it wears it looks like inverted

If someone knows please tell me where to edit

Screenshot:http://prntscr.com/bl2bad

Posted
We can't guess what's the backpack position or id , you must find that line which create that object and change the object rotation .

Thats the line of backpack object

elementBackpack[source] = createObject(363, x, y, z ,)

elseif newValue == 8 then

Posted
Are you sure you copied full line ?

createObject(363, x, y, z ,) after that last "," must be other 3 coords.

I will give all code of backpack create object

if newValue == 12 then

elementBackpack[source] = createObject(3026, x, y, z)

elseif newValue == 16 then

elementBackpack[source] = createObject(1248, x, y, z)

elseif newValue == 26 then

elementBackpack[source] = createObject(1575, x, y, z)

elseif newValue == 36 then

elementBackpack[source] = createObject(1252, x, y, z)

elseif newValue == 40 then

elementBackpack[source] = createObject(364, x, y, z)

elseif newValue == 52 then

elementBackpack[source] = createObject(1636, x, y, z)

elseif newValue == 64 then

elementBackpack[source] = createObject(363, x, y, z ,)

elseif newValue == 8 then

return

end

if newValue == 26 then

attachElementToBone(elementBackpack[source], source, 3, 0, -0.16, 0.05, 270, 0, 180)

else

attachElementToBone(elementBackpack[source], source, 3, 0, -0.225, 0.05, 90, 0, 0)

end

end

end

Posted

How many slots your backpack have ?

If it have 26 you must change here :

if newValue == 26 then

attachElementToBone(elementBackpack[source], source, 3, 0, -0.16, 0.05, 270, 0, 180)

else

attachElementToBone(elementBackpack[source], source, 3, 0, -0.225, 0.05, 90, 0, 0)

end

else here

if newValue == 26 then

attachElementToBone(elementBackpack[source], source, 3, 0, -0.16, 0.05, 270, 0, 180)

else

attachElementToBone(elementBackpack[source], source, 3, 0, -0.225, 0.05, 90, 0, 0)

end

Try to change that numbers with : 0 , 90 , 180 , 270 . Like 90,0,90 or 90,0,180 or 90,0,270 ,etc

Posted
How many slots your backpack have ?

If it have 26 you must change here :

if newValue == 26 then

attachElementToBone(elementBackpack[source], source, 3, 0, -0.16, 0.05, 270, 0, 180)

else

attachElementToBone(elementBackpack[source], source, 3, 0, -0.225, 0.05, 90, 0, 0)

end

else here

if newValue == 26 then

attachElementToBone(elementBackpack[source], source, 3, 0, -0.16, 0.05, 270, 0, 180)

else

attachElementToBone(elementBackpack[source], source, 3, 0, -0.225, 0.05, 90, 0, 0)

end

Try to change that numbers with : 0 , 90 , 180 , 270 . Like 90,0,90 or 90,0,180 or 90,0,270 ,etc

Now it works perfect but now another like coyote has same problem when i change maybe its just cuz of that backpack mod?

Posted
How many slots your new backpack have ? Your coyote have 36 slots ?

yes but i add 3 more backpacks and 2 of them work perfect but last one not the biggest one

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...