Jump to content

Cassandra

Members
  • Posts

    200
  • Joined

  • Last visited

Everything posted by Cassandra

  1. I want a pic showing the greatest crap on the world.
  2. I want a pic of myself. Now that's finding something.
  3. I want a pic of something which isn't sexually explicit.
  4. I need sleep dude Who's stopping you then?
  5. It would be useful for copy-pasting stuff.
  6. I have already found a way with your first solution. Thanks again and apologize for not responding.
  7. You solved my first problem thanks. Now, how to do the same thing with result on dbPoll?
  8. I am having a problem regarding the dbPoll's result and getAllElementData. So, here is it. setElementData(player, "loggedin", 0) setElementData(player, "posx", 0.0) setElementData(player, "posy", 0.0) setElementData(player, "posz", 0.0) These are my elements. This is my mysql table structure. 1 username varchar(24) 2 password varchar(70) 3 ip varchar(16) 4 posx float 5 posy float 6 posz float Now, what I want to do is to loop my elements and query an update on the mysql table. How would I be able to do that? How to ignore username, password and ip from the result loop and loggedin from the element data loop?
  9. Nevermind. Found it. It's interpolateBetween. Edit: Thanks Haze!
  10. Is there any special functions to make a camera move from one place to another to create a movie effect?
  11. You can make use of setPedGravity when player punches then set a timer to change back the gravity to normal.
  12. Do you have a better way? I do. Use the string manipulation library pre-included. lua-users.org/wiki/StringLibraryTutorial Scroll down to the bottom of this page. I guess what Aibo meant to say was that there's no use in creating an "useful function" for something achievable with a built-in function. Also, your 'useful function' is wrong because it doesn't use the OOP reference correctly Yeah, I saw that. And please don't go offtopic.
  13. Thanks a bunch. Never knew that function exist.
  14. Is it possible to loop elements data and get/set the key and value?
  15. Thanks but I have already found a way.
  16. Do you have a better way?
  17. I agree with this suggestion and I am surprised that it hasn't been implemented yet.
  18. That's singular dimension. I want something like this. local items = { { name = "Something" weight = 20 height = 20 }, { playerid = 0 } } items[name][1] = "something" -- The first dimension is the info, the second dimension is the playerid
  19. Is it possible to create multi dimensional tables on LUA? If yes, can you provide me an example creation?
×
×
  • Create New...