Jump to content

Anubhav

Members
  • Posts

    2,277
  • Joined

  • Last visited

Everything posted by Anubhav

  1. It actually does make sense if you don't want to directly buffer the data into a string/table and do some seperations with it. This topic is really interesting and I will keep a eye on it. I'm sure there is a reason, and I actually don't use file functions because I never needed them because I use SQLite, XML or MySQL.
  2. dude you are clearly asking for help after each problem, and rather doing your own attempts WhoAmI is posting whole code. Not fighting anymore
  3. His code seems to be quite different. The script he has written is reading 1024 bytes and md5'ing it (hashing it) and then storing it. That means he wants every 1024 bytes to be hashes differently because reading whole file then hash ~= reading 10 bytes or random amount of data and hashing it. (my guess, ofc)
  4. you know what, you are not requesting for help rather asking people to do edit the script, i have been seeing your posts since long. you are not even trying to do anything just posting this doesn't work etc. also whoamI don't post the full code every single time as it won't help him learn. no offense, you gotta learn.
  5. Anubhav

    The last reply

    Sometime he spoke that. Exactly some-day, some-hours:some-minutes:some-seconds some-nano-seconds and some-mili-seconds
  6. Anubhav

    .

    My bad, din't notice he switched to the gui static image from dx rectangles.
  7. Anubhav

    .

    There is no relative argument for dx drawing.
  8. try debugging it, probably some element data is not set. Use outputChatBox to check after every if statement is done
  9. It's not simple to learn. It is very high-level language, and is very complicated language for me. It's your opinion. My opinion is it to be not added, it gives MTA team extra work which is not needed. They will need to disable alot of libraries to prevent abuse of C++, which will cause million years of work.
  10. You forgot setPlayerTeam's 2nd argument needs a team element not a string.
  11. It will give that: 1. Line #1 has no such loop to do that. That you put will return a nil value unless it is defined
  12. MTA Team might be able to help you out, I hope you could play MTA! Wait for ccw to reply
  13. MTA:SA was not made for Linux distributions, though it might come if developers work on the support for the Linux distributions. Such errors come when using wine. Some people say that it is hard to get it to work on Ubuntu, and wine not always works.
  14. Make sure the script is client-sided.
  15. The marker might not have been created. It happens sometimes. theMarker = createMarker( 2492.1240234375, -1670.7578125, 12.3, "cylinder", 1.5, 0, 255, 0, 80 ) theShape = nil function oncolhit (player, hitElement) if getElementType ( player ) == "player" then triggerClientEvent(player, "showGUI", player) end end setTimer( function( ) theShape = getElementColShape( theMarker ) addEventHandler ("onColShapeHit", theShape, oncolhit) end , 1000, 1)
  16. Weird. Really very weird. function Database.main() Database.connection = dbConnect("mysql", "dbname=**;host=**" ,"**", "**") if not Database.connection then Database.connection = dbConnect("mysql", "dbname=**;host=**" ,"**", "**") if not Database.connection then outputDebugString("Database Connection failed!") end else outputDebugString("Database Connection successful!") end end addEventHandler("onResourceStart", resourceRoot, Database.main) function Database.kill() if isElement(Database.connection) then destroyElement(Database.connection) Database.connection = nil end outputDebugString("Database Connection killed!") end addEventHandler("onResourceStop", resourceRoot, Database.kill) function getConnection() return Database.connection end Try this tho
  17. You mean guiBringToFront?
  18. He means this: silent arguement so people dont see transfer box. He says he deletes resources and adds them so the transfer box is annoying for him
  19. check if the account exists when he logged out
  20. A: Lua, Javascript, C++, Python, CSS, PHP, Jquery (not really one), HTML (not really one), Ruby (very very little) Q: What do you want?
  21. Anubhav

    My creations

    Hello! I would like to share some of my creations: #1 My first Python app - Shows you the time https://github.com/Anubhav652/CurrentTi ... ree/master It's not in a GUI, and I am sorry for that, I am still new to Python and can't directly go to GUI development. #2 Image uploader https://github.com/Anubhav652/ImageUploader Took me long to make it but now I'm not continuing the development as I did not comment the code and just thrashed it in. #3 Account system https://github.com/Anubhav652/accounts-system My new account system based on PHP, NOT FOR MTA. Just so you can handle things on, still in progress
  22. A: No Q: Write a short note on 'illuminati'.
  23. Sorry, but I do not get those trainer errors also I do not have the time to uninstall and install these again. This is because I have a exam tommorow, so I have to study. Also, I do not use any trainers and I never have. Not being rude here but yeah, this problem can't occur to many people as my friends on skype told their friends had experienced it.
×
×
  • Create New...