Tekken Posted October 2, 2014 Posted October 2, 2014 I create this script for vip items and i want to add an backpack how to do ? Script function kitvip ( player ) local accName = getAccountName ( getPlayerAccount (player) ) if isObjectInACLGroup ("user."..accName, aclGetGroup ( "VIP" ) ) then setElementData(player, "Map",1) setElementData(player, "GPS",1) setElementData(player, "M9 SD",1) setElementData(player, "M9 SD Mag",30) setElementData(player, "M4 Mag",90) setElementData(player, "M4",1) setElementData(player, "CZ 550",1) setElementData(player, "CZ 550 Mag",37) setElementData(player, "Water Bottle",5) setElementData(player, "Camouflage Clothing",1) setElementData(player, "Czech Backpack",1) setElementData(player, "Pizza",5) setElementData(player, "MAX_Slots",100) setElementData(player, "Infrared Goggles",1) setElementData(player, "Night Vision Goggles",1) setElementData(thePlayer, "MAX_Slots",26) outputChatBox("Iteme VIP selectate!", player, 0, 255, 0, false) end end addCommandHandler("vip",kitvip) Resources I made: attachToBones - A newer bone_attach. Simple Level system - Just a simple level system. Do not PM me for help with leaked scripts! I WILL NOT HELP YOU!
Callum Posted October 3, 2014 Posted October 3, 2014 Did you really create this script? I think if you did, it would be very obvious. Retired
King12 Posted October 3, 2014 Posted October 3, 2014 Did you really create this script? I think if you did, it would be very obvious. It's DayZ which is made by 2 guys.
Tekken Posted October 3, 2014 Author Posted October 3, 2014 Did you really create this script? I think if you did, it would be very obvious. I know it's already added but i cant use it i don't know why it's there like an item and i kent put on back Resources I made: attachToBones - A newer bone_attach. Simple Level system - Just a simple level system. Do not PM me for help with leaked scripts! I WILL NOT HELP YOU!
Moderators IIYAMA Posted October 3, 2014 Moderators Posted October 3, 2014 Did you really create this script? I think if you did, it would be very obvious. I know it's already added but i cant use it i don't know why it's there like an item and i kent put on back Then you lied, didn't you Do you want to improve your Lua programming skills and make less mistakes? Start with Lua Language Server! Useful functions 3x Spoiler checkPassiveTimer getScreenStartPositionFromBox getPedGender Tutorials 4x Spoiler Scaling DX Events Attach an addEventHandler on a group of elements Debugging
Tekken Posted October 3, 2014 Author Posted October 3, 2014 What you don't understand i create it for when type /vip to get this items but backpack have this problem is not usable Look: https://lh6.googleusercontent.com/-93QX ... iozdan.jpg Resources I made: attachToBones - A newer bone_attach. Simple Level system - Just a simple level system. Do not PM me for help with leaked scripts! I WILL NOT HELP YOU!
King12 Posted October 3, 2014 Posted October 3, 2014 What you don't understand i create it for when type /vip to get this items but backpack have this problem is not usableLook: https://lh6.googleusercontent.com/-93QX ... iozdan.jpg You have to wear by yourself, right click and wear it.
Tekken Posted October 3, 2014 Author Posted October 3, 2014 What you don't understand i create it for when type /vip to get this items but backpack have this problem is not usableLook: https://lh6.googleusercontent.com/-93QX ... iozdan.jpg You have to wear by yourself, right click and wear it. You think, I did not know this, but not working Resources I made: attachToBones - A newer bone_attach. Simple Level system - Just a simple level system. Do not PM me for help with leaked scripts! I WILL NOT HELP YOU!
crismar Posted October 3, 2014 Posted October 3, 2014 If MAX_Slots > Backpack Size then you won't be able to equip the backpack. Contact me if you are looking for a Web Developer. 3rd of October 2014 - Founder of RomaniaZ
Tekken Posted October 4, 2014 Author Posted October 4, 2014 If MAX_Slots > Backpack Size then you won't be able to equip the backpack. Thanks Resources I made: attachToBones - A newer bone_attach. Simple Level system - Just a simple level system. Do not PM me for help with leaked scripts! I WILL NOT HELP YOU!
Tekken Posted October 4, 2014 Author Posted October 4, 2014 If MAX_Slots > Backpack Size then you won't be able to equip the backpack. Thanks Still not working function kitvip ( player ) local accName = getAccountName ( getPlayerAccount (player) ) if isObjectInACLGroup ("user."..accName, aclGetGroup ( "VIP" ) ) then setElementData(player, "Map",1) setElementData(player, "Toolbox",1) setElementData(player, "Box Of Matches",1) setElementData(player, "Watch",1) setElementData(player, "Morphine",1) setElementData(player, "Medic Kit",1) setElementData(player, "Blood Bag",1) setElementData(player, "GPS",1) setElementData(player, "M9 SD",1) setElementData(player, "M9 SD Mag",60) setElementData(player, "M4 Mag",200) setElementData(player, "M4",1) setElementData(player, "CZ 550",1) setElementData(player, "CZ 550 Mag",50) setElementData(player, "Water Bottle",5) setElementData(player, "Camouflage Clothing",1) setElementData(player, "Pizza",5) setElementData(player, "Coyote Backpack",1) setElementData(player, "Infrared Goggles",1) setElementData(player, "Night Vision Goggles",1) outputChatBox("Iteme VIP selectate!", player, 0, 255, 0, false) end end addCommandHandler("vip",kitvip) Resources I made: attachToBones - A newer bone_attach. Simple Level system - Just a simple level system. Do not PM me for help with leaked scripts! I WILL NOT HELP YOU!
crismar Posted October 5, 2014 Posted October 5, 2014 DayZ doesn't come with 'Equip Backpack', you have to drop it and pick it up. Contact me if you are looking for a Web Developer. 3rd of October 2014 - Founder of RomaniaZ
Tekken Posted October 5, 2014 Author Posted October 5, 2014 DayZ doesn't come with 'Equip Backpack', you have to drop it and pick it up. Sory for spiking in Romanian Sall, deci as vrea sa se faca ca pe sv tau(sa apara singur) dar cand scriu /vip pur si simplu mi-l pune ca pe un item si nu-l pot folosi chiar daca il dau jos si il i-au dupaia Resources I made: attachToBones - A newer bone_attach. Simple Level system - Just a simple level system. Do not PM me for help with leaked scripts! I WILL NOT HELP YOU!
crismar Posted October 6, 2014 Posted October 6, 2014 We provided all the needed functions, I had nobody to explain me these stuffs so you'll have to figure out yourself. Contact me if you are looking for a Web Developer. 3rd of October 2014 - Founder of RomaniaZ
Tekken Posted October 7, 2014 Author Posted October 7, 2014 We provided all the needed functions, I had nobody to explain me these stuffs so you'll have to figure out yourself. ok thanks Resources I made: attachToBones - A newer bone_attach. Simple Level system - Just a simple level system. Do not PM me for help with leaked scripts! I WILL NOT HELP YOU!
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now