Jump to content

Tekken

Helpers
  • Posts

    1,423
  • Joined

  • Last visited

  • Days Won

    19

Everything posted by Tekken

  1. Just released an update today. *Created a GitHub repository. Link: https://github.com/mihayy5/mtadayz07 *Updated all bug's I know. *If you find others don't be shy, report the issue on GitHub. *Also updated the first topic. Greetings.
  2. Tekken

    File editor

    Very nice mate ! B.T.W. this won't also load the resource, right ? Also, why it is compiled ? I will like to edit ti a bit.
  3. Tekken

    Ajutor Texturi!

    Frate e simplu, pui texturile ca pe o resursa in server-ul local, deschizi Map Editor si iti cauti texturile in Objects (Patratul gablen din stanga jos), apoi incarci texturile (resursa) si mapa pe server si asta e tot.
  4. You didn't got me, instead of refreshing the data by a timer you can just replace data variable with "getElementData(getLocalPlayer(), "Class")" in your event. onClientRender event is already like a timer that update enywhere from 25-100 (depends of how many fps you have) times a second.
  5. You can use createColPolygon
  6. addEventHandler("onClientRender", getRootElement(), function() dxDrawText(getElementData(getLocalPlayer(), "Class"), classx, y+i*20.5); end); much better!
  7. Tekken

    Funcție weapon

    Da ce-s eu functionar public? https://wiki.multitheftauto.com/wiki/Main_Page
  8. Tekken

    Funcție weapon

    toggleControl(player, "fire", false);
  9. On the first post, there is a big black download button!
  10. We have to download this or it's the same as the main download that contains the folder of "dayz"? Nope you have to download them they are separate resources.
  11. Update - 05.02.2016! Changelog: Check main topic for download!
  12. Well thanks, I am really happy to know my work is appreciated! As for your questions, I can't respond now, but as soon as I can I will let you know.
  13. I will upload a video soon.
  14. Will be added in the next update.
  15. Thank`s Ported Login: http://adf.ly/6192604/login Also updated main topic!
  16. Yes read the Notes from topic try with /reg Username Password and will work. I can port the login panel from 0.9.5a to my gamemode if you want.
  17. Not sure but this may work: local tazerTimers = {}; addEventHandler("onPlayerDamage", getRootElement(), function (attacker, weapon, _, loss) if (isElement(attacker) and getElementType(attacker) == "player" and weapon and attacker ~= source) then if (not getPlayerTeam(attacker)) then return; end if (getPlayerWantedLevel(source) >= 1) then if (weapon == 23) then if (getPlayerTeam(attacker) and lawTeam[getTeamName(getPlayerTeam(attacker))]) then toggleAllControls(source, false); setPedAnimation(source, "ped", "KO_shot_stom"); triggerClientEvent(root, "onStartTaserSound", root, attacker); tazerTimers[source] = setTimer(teaser, 2500, 1, source); triggerClientEvent(root, "destroySound", root); end end end end end); function teaser(player) if isElement(player) then if isTimer(tazerTimers[player]) then local left = getTimerDetails(tazerTimers[player]); killTimer(tazerTimers[player]); tazerTimers[player] = setTimer(teaser, left+2500, 1, player); return; end tazerTimers[player] = nil; setPedAnimation(player); toggleAllControls(player, true); end end
  18. What Login system are you using? Make sure you carefully read all notes!
  19. Wait make me understand you want the animation to be doubled, Or...?
  20. Reported and the issue is this: "You always get the same number because math.random is called only once, and THAT value generated ONCE is then passed to setTimer."
  21. Try with this. function onTaserSoundPlay(attacker) if isElement(taserSound[client]) then return false; else taserSound[client] = playSound("taser/Fire.wav",true) if taserSound[client] and isElement(taserSound[client]) then setSoundVolume(taserSound[client], 1.0) end end end
  22. Might be a mta team mistake and/or error from setTimer, I am going to report this issue.
  23. You are right, but why didn't this work ? setTimer(outputChatBox, 6000, 0, unpack(mensajes[math.random(#mensajes)]), getRootElement(), 0, 0, 255, true);
  24. Can you show me the exact script you were using when you take this photo? Argument 2 is getRootElement, and shouldn't return '0'.
×
×
  • Create New...