Deepu

Members
  • Content Count

    449
  • Joined

  • Last visited

Community Reputation

0 Neutral

1 Follower

About Deepu

  • Rank
    Hustler
  • Birthday 31/08/1998

Details

  • Gang
    scripter
  • Location
    on earth possibly
  • Occupation
    lua and C++ programmer in ISD[Indian software dept.]
  • Interests
    scripting lua, playing mta, studying, lsitening to music, football == soccer, and many more....

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. oh well.. sorry Alex.. I thought GTA V was written in OpenGL library.. anyways.. back to the topic.. Uhmm.. alright then.. Lua has good learning curve and even "starters" in coding can use lua. But C++ is lightning fast.. I mean.. the memory bank management in C++ is so fast! not a single lag would be caused due to having too many variables in a single script but I have definitely noticed some scripts that have a lot of variables (1000+ lines of lua code) will lag like hell!
  2. To your knowledge.. @Anubhav, C++ has public, private and protected visibility modes. Ensuring safety among privacy. MTA was written in C++. GTA was written in C++/DirectX. GTA V was written in C++/OpenGL. So.. if MTA makes C++ coordination dll. then we can start MTA 5 or MTA 4 or something like that for GTA 4 and GTA V.
  3. @Anubhav I didn't say that Lua has to be stopped. I said that Lua is not flexible for OOP else people would have made minecraft with lua.. right? C++ is flexible because it has its own class support and object oriented systems development resources. If yu know crystalMV then.. even he likes using C or C++ because its more easier and more simpler to learn and to program. so we all can do it with C++.
  4. I know the lua OOP but its just not flexible.
  5. nope... that would be useless.. since that has no relation with the physics of a GTA element (the player).. something that has to fall... has to fall.. that's what the GTA physics is.. but what I need is a way to make the player think that he didn't fall... and he is still in the roof..
  6. nope... that would be useless.. since that has no relation with the physics of a GTA element (the player).. something that has to fall... has to fall.. that's what the GTA physics is.. but what I need is a way to make the player think that he didn't fall... and he is still in the roof..
  7. Yes @ Anubhav I tried that at the very first even before I made this topic. But I need to use this function in the script.. element = getPedContactElement(ped_or_player_element); and the function returns false if... and only if.. I am not standing on the vehicle which means that I must not be frozen.. I must not be in any animation and I must not be attached to any element. I must be completely connected to the element I am standing on.
  8. Yes @ Anubhav I tried that at the very first even before I made this topic. But I need to use this function in the script.. element = getPedContactElement(ped_or_player_element); and the function returns false if... and only if.. I am not standing on the vehicle which means that I must not be frozen.. I must not be in any animation and I must not be attached to any element. I must be completely connected to the element I am standing on.
  9. Duh? Ofcourse it doesn't work.. the code doesn't even make sense literally.. I mean you are detaching and its like.. I fell of the vehicle and I am on the ground and then you are setting my position back to the ground lol .. anyways thanks for helping
  10. Duh? Ofcourse it doesn't work.. the code doesn't even make sense literally.. I mean you are detaching and its like.. I fell of the vehicle and I am on the ground and then you are setting my position back to the ground lol .. anyways thanks for helping
  11. Hey guys.. I need a small help.. I know this is a stupid question but hey... how do you safely stay on top of a moving car? I mean I made some progress in a good script of mine but this thing is the last thing I need.. Staying on the top of a moving car. I am attached to the top of a car and I must suddenly detach myself off of the car.. and in doin so.. I'm falling off... and I'm not staying on top of the car.. Is there any fixes on this? I used this function though. . . . detachElements(localPlayer, vehicle_I_am_attached_to); -- here's where I'm falling . . .
  12. Hey guys.. I need a small help.. I know this is a stupid question but hey... how do you safely stay on top of a moving car? I mean I made some progress in a good script of mine but this thing is the last thing I need.. Staying on the top of a moving car. I am attached to the top of a car and I must suddenly detach myself off of the car.. and in doin so.. I'm falling off... and I'm not staying on top of the car.. Is there any fixes on this? I used this function though. . . . detachElements(localPlayer, vehicle_I_am_attached_to); -- here's where I'm falling . . .
  13. Deepu

    XMLquestion?

    Something that you didn't know about XML is that its just a file... and all filesystem commands take place even when the server is running.. But.. to update its contents.. you must restart the server. Try using a text file or any binary file.. The same thing happens. This cannot be done in XML no matter what. XML is not fit for Updation and stuffs related to updating the nodes every time. That's why it works after you restart the server. Try SQLite or MySQL.. it should work fine because These are Relational Database Management systems.. These are dynamic and can be updated anytime anywhere in any millisecond. But XMLs lag and they don't update. You have to restart he server to update it. Hope I answered your question