Jump to content

Azfull

Members
  • Posts

    17
  • Joined

  • Last visited

Everything posted by Azfull

  1. Here is what you need: http://adf.ly/1CIZel Ladder system
  2. This is not your creation Santeri, It's me who scripted this weapon system, and not you, remember you.
  3. Go in survivorSystem.lua and search the function: onPlayerPitchATent After, look at this: setPedAnimation(source, "BOMBER", "BOM_Plant", nil, false, false, nil, false) And replace by that setPedAnimation(source, "BOMBER", "BOM_Plant", -1, false, false, nil, false)
  4. local itemTable = { farm = { { "Wood Pile", 1463, 0.4, 0, 13 }, { "Bandage", 1578, 0.5, 0, 4 }, { "Water Bottle", 2683, 1, 0, 6 }, { "Pasta Can", 2770, 1, 0, 6 }, { "Beans Can", 2601, 1, 0, 6 }, { "Burger", 2768, 1, 0, 6 }, { "Empty Soda Cans", 2673, 0.5, 0, 12 }, { "Scruffy Burgers", 2675, 0.5, 0, 12 }, { "Soda Bottle", 2647, 1, 0, 9 }, { "Empty Gas Canister", 1650, 1, 0, 10 }, { "Hunting Knife", 335, 1, 90, 4 }, { "Box of Matches", 328, 0.4, 90, 8 }, { "Revolver", 348, 1, 90, 0.2 }, { "Morphine", 1579, 1, 0, 4 }, { "Tent", 1279, 1, 0, 0.5 }, { "G17", 346, 1, 90, 4 }, { "Painkiller", 2709, 3, 0, 3.5 }, { "Lee Enfield", 357, 1, 90, 0.3 }, { "Winchester 1866", 349, 1, 90, 0.3 }, { "Tire", 1073, 1, 0, 2 }, { "Tank Parts", 1008, 1, 0.8, 2 }, { "Civilian Clothing", 1241, 2, 0, 2.5 }, { "Civilian [F] Clothing", 10, 2, 0, 3.5 }, { "Map", 1277, 0.8, 90, 6 }, { "GPS", 2976, 0.15, 0, 2 } }, residential = { { "Box of Matches", 328, 0.4, 90, 5 }, { "Wood Pile", 1463, 0.4, 0, 5 }, { "G17", 346, 1, 90, 1.5 }, { "Makarov SD", 347, 1, 90, 1.9 }, { "Winchester 1866", 349, 1, 90, 0.1 }, { "PDW", 352, 1, 90, 1 }, { "Hunting Knife", 335, 1, 90, 3 }, { "Hatchet", 339, 1, 90, 1 }, { "Pizza", 1582, 1, 0, 7 }, { "Soda Bottle", 2647, 1, 0, 7 }, {
  5. function refreshItemLoot(col, place) local objects = getElementData(col, "objectsINloot") if objects then if objects[1] ~= nil then destroyElement(objects[1]) end if objects[2] ~= nil then destroyElement(objects[2]) end if objects[3] ~= nil then destroyElement(objects[3]) end end local counter = 0 local obejctItem = {} for i, item in ipairs(itemTable.other) do if getElementData(col, item[1]) and getElementData(col, item[1]) > 0 then if counter == 3 then break end counter = counter + 1 local x, y, z = getElementPosition(col) obejctItem[counter] = createObject(item[2], x + math.random(-1, 1), y + math.random(-1, 1), z - 0.875, item[4]) setObjectScale(obejctItem[counter], item[3]) setElementCollisionsEnabled(obejctItem[counter], false) setElementFrozen(obejctItem[counter], true) end end if obejctItem[1] == nil then local x, y, z = getElementPosition(col) obejctItem[1] = createObject(1463, x + math.random(-1, 1), y + math.random(-1, 1), z - 0.875, 0) setObjectScale(obejctItem[1], 0) setElementCollisionsEnabled(obejctItem[1], false) setElementFrozen(obejctItem[1], true) end if obejctItem[2] == nil then local x, y, z = getElementPosition(col) obejctItem[2] = createObject(1463, x + math.random(-1, 1), y + math.random(-1, 1), z - 0.875, 0) setObjectScale(obejctItem[2], 0) setElementCollisionsEnabled(obejctItem[2], false) setElementFrozen(obejctItem[2], true) end if obejctItem[3] == nil then local x, y, z = getElementPosition(col) obejctItem[3] = createObject(1463, x + math.random(-1, 1), y + math.random(-1, 1), z - 0.875, 0) setObjectScale(obejctItem[3], 0) setElementCollisionsEnabled(obejctItem[3], false) setElementFrozen(obejctItem[3], true) end setElementData(col, "objectsINloot", { obejctItem[1], obejctItem[2], obejctItem[3] }) end addEvent("refreshItemLoot", true) addEventHandler("refreshItemLoot", getRootElement(), refreshItemLoot)
  6. Hello, I have an error in my console, I think it's related to the new version 1.4: [2014-08-11 13:23:37] WARNING: [DayZ]/[DayZ-MTA]/DayZ/pickups.lua:2201: Bad usage @ 'createObject' [Invalid model id] [2014-08-11 13:23:37] WARNING: [DayZ]/[DayZ-MTA]/DayZ/pickups.lua:2202: Bad argument @ 'setObjectScale' [Expected object at argument 1, got boolean] [2014-08-11 13:23:37] WARNING: [DayZ]/[DayZ-MTA]/DayZ/pickups.lua:2203: Bad argument @ 'setElementCollisionsEnabled' [Expected element at argument 1, got boolean] [2014-08-11 13:23:37] WARNING: [DayZ]/[DayZ-MTA]/DayZ/pickups.lua:2204: Bad argument @ 'setElementFrozen' [Expected element at argument 1, got boolean] [2014-08-11 13:23:37] WARNING: [DayZ]/[DayZ-MTA]/DayZ/pickups.lua:2201: Bad usage @ 'createObject' [Invalid model id] [2014-08-11 13:23:37] WARNING: [DayZ]/[DayZ-MTA]/DayZ/pickups.lua:2202: Bad argument @ 'setObjectScale' [Expected object at argument 1, got boolean] [2014-08-11 13:23:37] WARNING: [DayZ]/[DayZ-MTA]/DayZ/pickups.lua:2203: Bad argument @ 'setElementCollisionsEnabled' [Expected element at argument 1, got boolean] [2014-08-11 13:23:37] WARNING: [DayZ]/[DayZ-MTA]/DayZ/pickups.lua:2204: Bad argument @ 'setElementFrozen' [Expected element at argument 1, got boolean] [2014-08-11 13:23:37] WARNING: [DayZ]/[DayZ-MTA]/DayZ/pickups.lua:2201: Bad usage @ 'createObject' [Invalid model id] [2014-08-11 13:23:37] WARNING: [DayZ]/[DayZ-MTA]/DayZ/pickups.lua:2202: Bad argument @ 'setObjectScale' [Expected object at argument 1, got boolean] [2014-08-11 13:23:37] WARNING: [DayZ]/[DayZ-MTA]/DayZ/pickups.lua:2203: Bad argument @ 'setElementCollisionsEnabled' [Expected element at argument 1, got boolean] [2014-08-11 13:23:37] WARNING: [DayZ]/[DayZ-MTA]/DayZ/pickups.lua:2204: Bad argument @ 'setElementFrozen' [Expected element at argument 1, got boolean] [2014-08-11 13:23:37] WARNING: [DayZ]/[DayZ-MTA]/DayZ/pickups.lua:2201: Bad usage @ 'createObject' [Invalid model id] [2014-08-11 13:23:37] WARNING: [DayZ]/[DayZ-MTA]/DayZ/pickups.lua:2202: Bad argument @ 'setObjectScale' [Expected object at argument 1, got boolean] [2014-08-11 13:23:37] WARNING: [DayZ]/[DayZ-MTA]/DayZ/pickups.lua:2203: Bad argument @ 'setElementCollisionsEnabled' [Expected element at argument 1, got boolean] [2014-08-11 13:23:37] WARNING: [DayZ]/[DayZ-MTA]/DayZ/pickups.lua:2204: Bad argument @ 'setElementFrozen' [Expected element at argument 1, got boolean] If anyone has this problem can help me
  7. Try this: function addPlayerCookMeat() local playersource = source setPedAnimation(source, "BOMBER", "BOM_Plant", -1, false, false, nil, false) ...Too much important to share. ...Too much important to share. setTimer(function() ...Too much important to share. ...Too much important to share. ...Too much important to share. end, 5000, 1) triggerClientEvent(source, "refreshInventoryManual", source) end addEvent("addPlayerCookMeat", true) addEventHandler("addPlayerCookMeat", getRootElement(), addPlayerCookMeat)
  8. Delete this resource immediately. In this resource, there is an command of give for everyone (/givekords ).
  9. Salut à tous, j'ai passé mon serveur mta dayz en 1.4 et depuis, j'ai un problème avec mes animation (boucle infini): Quand j'étais en 1.3 cela marchait bien. Je vous montre le code de l'animation: setPedAnimation(source, "FOOD", "EAT_Burger", nil, false, false, nil, false)
  10. There is no command for that, you need to create them
  11. Cela est normal si tu ne peut ajouté un skin sur le gm dayz avec un script hors gm dayz. Pour cela, tu va devoir ajouter le skin (l'objet) dans le gm dayz. Puis mettre le taux de spawn du skin a 0 pour que personne puisse le trouver. Ensuite, pour avoir le skin tu va devoir te le give avec le script GIP que tu aura modifié pour que tu puisse te donner ton skin perso. Voilà, j'espère t'avoir aider, Cordialement Azfull.
  12. Azfull

    Skin of gift

    A skin of gift for christmas for my dayz server. I want to put gifts on map, i have the script but i have no skin I have already search on google but no result
  13. Azfull

    Skin of gift

    Hello, i'm french and I'm not very good in English but anyone have a skin of gift for Christmas ? please
  14. Salut, je pense savoir quel est la cause de ton problème, as tu bien mis le nom du serveur comme ceci: GTA:SA DayZ Version [LOCATION] | community.vavegames.net | Information du serveur
×
×
  • Create New...