Jump to content

AJXB

Members
  • Posts

    370
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by AJXB

  1. Compatibility issues if you put the GUI element in the event handler
  2. You made a topic to ask someone to fix "your" script, which would be fixed if you changed false to true?
  3. AJXB

    Convert Time

    if (hour > 12) then hour = hour-12 end Isn't it this simple? From 00:00 to 12:00 that's morning, so it's AM, after 12:00 it's all PM
  4. Look for it in the Wiki, I think you'll find your way around.
  5. If you actually created this script you would know that changing line 23 will solve your problem. but I highly doubt you know what you're doing here.
  6. if (isTimer(g_VehicleList[source].idleTimer)) then killTimer(g_VehicleList[source].idleTimer) end as far as I remember
  7. No, your first option is correct, not the second.
  8. setElementData() setTimer() -- to reset the element data
  9. Remove line 33 to 35 P.S: Make your own scripts. DEN? Really?
  10. AJXB

    Convert Time

    You mean it's 12 hours based and you want it 24 hours based?
  11. If the gamemode is already sold to @chiquita it's useless to me, or someone else. I like the effort you put into it.
  12. https://wiki.multitheftauto.com/wiki/OnClientPlayerNetworkStatus Try the example code
  13. AJXB

    MTA Crash

    You're a magician /pissoff
  14. This cracked me up lmfao, poetic? *claps*
  15. AJXB

    MTA Crash

    You're retarded for using that Antivirus. Add an exception in the AV, Google how. MTA doesn't have any malicious files, maybe you can use a proper AV and find out.
  16. Post the error and the line number, I think I know what's wrong
  17. He isn't talking about speed, he's generally saying that numerical loops are what an "expert" coder should be using.. The correct answer to this is "It depends on your table, and what data do you need", you can't talk in general about this.
  18. "Look There's 3 kind of loops Ipairs - Pairs - Numerical If you're smart guy and you can think off a good structre. You will use rarely Pairs. And never or almost never Ipairs. If you're a medium guy on scripting. You will use Pairs most of the times, making use of numerical some times and ipairs also some times. And in my opinion the worst one, using Ipairs most of the times, pairs some times and numerical almost never." Some ignorant who's acting like a professional coder is saying this. please, give me your opinion on what he's saying.
  19. AJXB

    trigger

    https://wiki.multitheftauto.com/wiki/OnMarkerHit
  20. I think this is a very good idea and it should be added. 1. Because I said so.. 2. read #1
  21. Mother of indentation.. press "Tab" once a while. http://pastebin.com/Y9ri2wxi
  22. You can't, unless you have a supercomputer and a couple of years.
  23. Stfu. On-topic: I'm surprised anyone spent time doing this, but I really like it, great work
×
×
  • Create New...