Jump to content

Stropon777

Members
  • Posts

    9
  • Joined

  • Last visited

Stropon777's Achievements

Newbie

Newbie (4/54)

1

Reputation

  1. Please give complete code, I can't understand it, thank you!
  2. How to fix please help? Please give code
  3. I don't see bad in LUA, sorry(
  4. Stropon777

    Help plz

    function getGangSlots (gangname) local account = getAccount(getGangLeader(gangname)) if account then return (getAccountData(account,"gangslots") or 0) else return 20 end end
  5. ERROR: Client (nickname) triggered serverside event Zomb_delete, but event is not added serverside ERROR: Client (nickname) triggered serverside event Zomb_delete, but event is not added serverside [DUP x4] Code is only in survivorSystem_client.lua, no longer where there is no Zomb_delete can just remove the line? function pedGetDamageDayZ ( attacker, weapon, bodypart, loss ) if getElementType(attacker) == "vehicle" then speedx, speedy, speedz = getElementVelocity ( attacker ) actualspeed = (speedx^2 + speedy^2 + speedz^2)^(0.5) kmh = actualspeed * 300 if kmh >= 5 then local vehkiller = getVehicleOccupant ( attacker ) setElementData(source,"blood",0) if getElementData(source,"blood") <= 0 then triggerServerEvent("onZombieGetsKilled",source,vehkiller) triggerServerEvent("Zomb_delete", getRootElement(), source) end end end
  6. Hi guys.. On my server, is 1 map, DD, how do I do that after death, it automatically switched it again.. Now I had to upload two copies of the map, and now after the death of the vote, 1.2 points card and 3 point "play again". How to take it away and make a automatically? I'm in the fashion Race newbie, always worked with DayZ! Sorry for the English, "Chukchi not a writer"..
  7. WARNING: [DayZ-MTA]/DayZ/survivorSystem.lua:2182: Bad argument @ 'getElementType' [Expected element at argument 1] WARNING: [DayZ-MTA]/DayZ/survivorSystem.lua:2298: Bad argument @ 'getElementType' [Expected element at argument 1] WARNING: [DayZ-MTA]/DayZ/survivorSystem.lua:2329: Bad argument @ 'getElementType' [Expected element at argument 1] WARNING: [DayZ-MTA]/DayZ/survivorSystem.lua:2429: Bad argument @ 'getElementType' [Expected element at argument 1] WARNING: [DayZ-MTA]/DayZ/survivorSystem.lua:2439: Bad argument @ 'getElementType' [Expected element at argument 1] Below, I have shown a 1 place where error, it is the same everywhere... function checkTrapPlace( theElement, matchingDimension ) 2182, 2298, 2329, 2429, 2439 - if ( getElementType ( theElement ) == 'player' ) and matchingDimension then if getElementData ( source, "mineFar" ) then THNX!
×
×
  • Create New...