Jump to content

JeweL

Members
  • Content Count

    11
  • Joined

Everything posted by JeweL

  1. am not good in scripts.. and i understand then very hard.. if u can explication me .. please
  2. JeweL

    MTA DayZ Help.

    function playerLogin(username, pass, player) local playerID = getAccountData(getPlayerAccount(player),"playerID") account = getPlayerAccount(player) local x,y,z = getAccountData(account,"last_x"),getAccountData(account,"last_y"),getAccountData(account,"last_z") local skin = getAccountData(account,"skin") createZombieTable (player) if getAccountData(account,"isDead") then spawnDayZPlayer(player) return end spawnPlayer (player, x,y,z, math.random(0,360)
  3. I have any problem.. Zombies doesnt spawn... function zombieSpawning() local x, y, z = getElementPosition(getLocalPlayer()) local material, hitX, hitY, hitZ = isObjectAroundPlayer2(getLocalPlayer(), 30, 3) if material == 0 and not isInBuilding(x, y, z) then triggerServerEvent("createZomieForPlayer", getLocalPlayer(), hitX, hitY, hitZ) end end setTimer(zombieSpawning, 3000, 0)
  4. function zombieSpawning() local x, y, z = getElementPosition(getLocalPlayer()) local material,hitX, hitY, hitZ = isObjectAroundPlayer2 ( getLocalPlayer(), 30, 3 ) if material == 0 and not isInBuilding(x,y,z) then triggerServerEvent("createZomieForPlayer",getLocalPlayer(),hitX, hitY, hitZ) end end setTimer(zombieSpawning,3000,0) Another one bug ... zombie didnt spawn..
  5. It's already "false". function onPlayerRequestChangingStats(itemName,itemInfo,data) if data == "food" then if itemName == "Burger" then blood = 300 elseif itemName == "Pizza" then blood = 300 elseif itemName == "Cooked Meat" then blood = 800 elseif itemName == "Beans Can" then blood = 200 elseif itemName == "Pasta Can" then blood = 200 end setPedAnimation (source,"FOOD","EAT_Burger",nil,false,false,nil,false) setElementData(source,itemName,getElementData(source,itemName)-1) add
  6. Can anyone help me too? The gamemode a5.5.6 DayZ MTA The animations get stuck when they give me a Medic Kit, food or water ... can someone help me please!
  7. JeweL

    MTA DayZ

    Howdy! I also have a problem, if anyone can help me. I don't have the backpack and the weapon in the back ... The gamemode is version 0.7!
×
×
  • Create New...