Jump to content

Tekken

Helpers
  • Posts

    1,423
  • Joined

  • Last visited

  • Days Won

    19

Everything posted by Tekken

  1. getPedSimpleTask() maybe? Or getPedTask() search for reload task
  2. toJSON(table) - returns JSON fromJSON(JSONHERE) - returns Lua table
  3. local lowspawn = {}; local lowspawnradar = {}; lowspawn[#lowspawn + 1] = createColRectangle(z[1], z[2], z[3], z[4]); lowspawnradar[#lowspawnradar + 1] = createRadarArea(z[1], z[2], z[3], z[4], 200, 150, 0, 200); addEventHandler("onColShapeHit", resourceRoot, function(hitElement) for i = 1, #lowspawn do if source == lowspawn[i] then if getElementType( hitElement ) == "player" then setElementData(hitElement, "threat", "low"); end end end); Try to understand the code if you have any problems leave a reply!
  4. Sorry the link is down as the topic got deleted: here you have the same version but free: https://github.com/NullSystemWorks/mtadayz
  5. What is wrong exactly ? I can’t see from your photo! Please develop.
  6. You will have to script it trough like player buy ammo for uzi > save data; player buy mp5 > save uzi ammo data to account > delete smg ammo > load smg ammo data for mp5; and so on and so forth for all weapons. good luck
  7. Hello, here you have all the details: https://wiki.multitheftauto.com/wiki/Server_Manual good luck!
  8. That’s because or 0 will return 0 Something is wrong with your getVehicleAddonsInfo function
  9. Rotating x, y or z? You may just need to do like onClientRender roatet object y+1 or something like that.
  10. You may add getElementData(..) or "NoName" See if maybe the element data isn’t yet set thus outputting nil
  11. I recommend the 7th as you have no experience, I find it very useful for absolute beginners!
  12. What do you mean? Not integrated?
  13. I personally right click and open in new tab and it works.
  14. Tekken

    Time?

    < less <= less or equal > greater >= greater or equal You put an capital I in script replace If with if
  15. Tekken

    Time?

    You should put > 0 as it can’t be less than 0 can’t be armor -10 can it?
  16. Tekken

    Time?

    Oh yes forgot server side onDamage can’t be canceled!
  17. Tekken

    Time?

    If getPedArmor(source) > 0 then When in doubt always check wiki GetPedArmor returns a float that can be from 0 to 100 of i recall correctly
  18. Tekken

    Time?

    If used client side
  19. Tekken

    Time?

    You set time server side? getRealTime() — get real time of the server; setTime() — set in game time comparing with real time of the server!
  20. Forum can be both black and white and also Night mode, but the friendship thing might be a nice idea.
×
×
  • Create New...