Jump to content

TopAz

Members
  • Posts

    79
  • Joined

  • Last visited

Everything posted by TopAz

  1. Do you know how to fix it? ipairs is not working.
  2. I got another problem. Why is this local somedata = { ["name"] = "TopAz", ["age"] = "1000", ["profession"] = "Programmer", ["language"] = "CSharp" } for key,value in pairs(somedata) do print(key .. " | " .. value) end Outputting this language | CSharp age | 1000 name | TopAz profession | Programmer Instead of this name | TopAz age | 1000 profession | Programmer language | CSharp
  3. function addNum(...) num = 0 for i, b in ipairs{...} do num = num + b end return num end Thanks in advance.
  4. Okay here. http://pastebin.com/yYWCj2dD
  5. Thanks, but still Connection Timed Out.
  6. I like your style. Can you tell me how do you do the calculation? Any formula or whatsoever? That's where the brain part comes into play. This is all basic maths which you should know already. Draw on paper a square, give it a screen size (eg 1600x900, 1024x768), draw your GUI where you want and get a rough X and Y coords from paper. Draw another square for another screen resolution, draw your GUI, get coords. You can then start calculating the coords that are not screen dependent. Or a simple way, you can find the formulas from people on the forum, I'm sure it's been posted many times but I like to be independent and do everything on my own - at least I learn something new this way. So, getting to the point, we have to play with the GUI coordinates in a graph. I saw people using formula to place a gui on top-left, bottom-right, center, etc. Where can I get those formulas?
  7. I like your style. Can you tell me how do you do the calculation? Any formula or whatsoever?
  8. MTA Team, please tell me how to fix that. It seems tentative that most server are using 22003 or 22005 port and I cannot join it.
  9. Thank you 50p and Kenix. I'm loving LUA more than PAWN.
  10. It's decrepit. I think I will have to stick with the guiedit.
  11. Can you tell me what tool do you use to make GUI's?
  12. No, I mean on PAWN the positive integer starts from 0 as of the arrays but in LUA it seems otherwise after an experiment on tables. Does it occurs every time that Lua starts counting from 1?
  13. And also does the counting of LUA starts from 1?
  14. for(new i = 0; i < 50; i++)
  15. Is it possible to make a system that, if the bot mode is hunting and the subject is on a car then, if the bot is near on any car, he will try to enter that car and chase the subject. And also if the bot mode is follow and if the subject is on his own team, then he will enter the subject's car as passenger. I hope you got my point.
  16. I cannot seem to find any tutorial about it.
  17. It's on this tutorial viewtopic.php?f=148&t=40840 on the gui creation part.
  18. How will I know it? I see people are using guiGetScreen and all of that then multiplying the values. What's the formula behind it?
×
×
  • Create New...