Jump to content

tommymaster

Members
  • Posts

    75
  • Joined

  • Last visited

Everything posted by tommymaster

  1. Hey! Thanks for your answer! I can play on the majority of the servers but not my favorite ones. Im sure its not a virus thats blocking my AC components.
  2. Hi! I want to play MTA:SA on linux, but everytime i want to join a server, im getting kicked, with the reason: (SD #16 021A) Ensure no other program is modifying MTA:SA Also what about the servers that doesnt allow Wine? Because as far as i know there are some.
  3. could you please give me an example?
  4. you mean, use the hash("sha512", ...) on the password more than 2 times?
  5. so i should use hash both the client side and server side?
  6. People told me to add salt to my passwords, but I don't really know what it does. Could you help me with that? So the simple hash("sha512", ...) will not be enough?
  7. Hi, right now i am storing passwords in my database, that i use hash("sha512", ...) for the passwords on client side, and then send it to server side, and update the database with it. I have no other protection on passwords. Many told me that it's not safe, what can i do?
  8. thank you guys! you really helped a lot! you are all awesome!!!!!!
  9. i already wrote my msql query resource, but what type should the column in the mysql table be?
  10. and how can i save this to mysql?
  11. the lua table is like this {{["item"] = 101, ["amount"] = 1}} would it work the same?
  12. how? could you please give me an example?
  13. is there a way i can save a lua table in mysql?
  14. i have to restart it sometimes, if i add a feature, or fix a bug
  15. Hi, is there a function, that loads the element data the player had, before quit? Or how can i save lua tables without using databases?
  16. So: I create a custom weapon, and set it's alpha by engineSetModelLODDistance to 0, Replace a model and texture (for example a house) with the weapon model, and texture, and attach the model with replaced texture and model, to the player's hand? And can i disable its collision?
  17. okay, but if i put a model into my player's hand instead of a custom weapon, how would it shoot? or create a custom weapon too, but somehow set the alpha to 0? and how can i make the player aim?
  18. Hi, i want to have more than one TXD on weapon models, but if i import the TXD, i can only apply it to a weapon model. Can i apply it for example to a player's weapon? But not for all the same weapon, but only the player's? So i mean a player could have a colorful M4, but the others still have the default one if they did not buy a customization for it?
  19. Hi. Let me give you an example: local Car = {} function Car:new(model, color1, color2, plate, ...) --create a vehicle --return the created vehicle end If i want to reach this class from an other script, how can i export the class, and not the functions?
  20. i dont want to right now, but i wonder how may i do it, maybe with timers?
  21. i dont know how long the interpolation would be...
  22. local x, y, z = 134.52067565918, -69.88720703125, 2.4778761863708 local marker = createMarker (x, y, z) addEventHandler ("onClientRender", root, function() x, y, z = interpolateBetween (x, y, z, x, y, z + 3, 0, "Linear") setElementPosition (marker, x, y, z) end) Hi i'd like to move a marker from my position, to up, but the script is not working at all. It is not giving any error but the marker is not moving.
×
×
  • Create New...