Jump to content

Tekken

Helpers
  • Content Count

    1,358
  • Joined

  • Last visited

  • Days Won

    17

Tekken last won the day on May 3

Tekken had the most liked content!

Community Reputation

163 Celebrity

About Tekken

  • Rank
    Forum Helper
  • Birthday 26/08/1997

Details

  • Gang
    DayZ
  • Location
    Romania
  • Occupation
    Dev and player!
  • Interests
    Lua, PHP, MySQL, JavaScript, HTML, CSS

Recent Profile Visitors

7,013 profile views
  1. Why can't you place the rectangle down there? Also use math.floor to get a integer out of a float: math.floor(97.2371) = 97
  2. I’ve moved your topic to scripting section for best results.
  3. You can try replace the default walk animation with the new one from the ifp file?
  4. if getElementSpeed(veh, 1) >= 100 then playSound(...); end you can get the useful function 'getElementSpeed' from here: https://wiki.multitheftauto.com/wiki/GetElementSpeed
  5. You forgot: https://wiki.multitheftauto.com/wiki/EngineReplaceAnimation My mistake, have you tried with, -1 instead of 200 ms?
  6. Hi, First of all your link is dead, second of all can you develop a little? Greetings.
  7. You should copy and paste this useful function from here https://wiki.multitheftauto.com/wiki/GetPlayerFromPartialName in vip resource
  8. I can’t, you will have to integrate it yourself in your DayZ gamemode
  9. local rewardTable = { [5] = {"M4", "M4 Mag", 90}; -- add ammo and ammount of ammo to give! [10] = {"Coyote Backpack"}; -- for items that don't have ammo no need to add anything after! -- you will have to add the rest! }; -- add this to spawn function! local pLvl = getElementData(player, "lvl") or 0; if pLvl >= 5 then --check if valid reward possible! for i = 5, pLvl, 5 do --start from 5 and jump from 5 to 5! as there are no other rewards in between! local data = rewardTable[i] or false; if data then setElementData(player, data[1], (getElementData(player, data[1]) or 0) + 1); --
  10. Ok, what exactly do you need help with?
  11. Exactly the same you did with onClientClick but with your gui() function.
  12. Hi, you have my simple level system in my signature, however you need to setup the rewards by yourself, is not that complicated.
  13. getPedAnimation Gets the animation of a player or ped that was set using setPedAnimation. That might not work @Skully (Not sure tho)
  14. Try: /stop joinquit in chat. (if I remember correctly that’s how it’s called the default join/quit resource)
×
×
  • Create New...