Jump to content

laurens

Members
  • Posts

    49
  • Joined

  • Last visited

Details

  • Gang
    RaFS

laurens's Achievements

Rat

Rat (9/54)

0

Reputation

  1. Thanks! I was looking at vehicle/element/player-related functions
  2. New question: In a gamemode, like race, certain maps get played. I want to get a message in a difference resource (ie. "monitor") whenever a pickup gets hit. Is this possible? I already tried this but it wouldn't respond when I hit a pickup: function pickupHit ( player ) outputChatBox ( "You have picked up a pickup.", player ) --Display this message in the chat box end addEventHandler ( "onPickupHit", getRootElement(), pickupHit ) Just to make things clear. Let say you're playing the map Freeroam in the gamemode Race. There are a lot of pickups there. Now I have a difference resource running (which I call "monitor") and I want to get a notice whenever a pickup gets hit by a player. Is this actually possible?
  3. Now I remember again, I totally forgot about the client and serverside stuff
  4. Ok, it's been a year ago since I scripted for MTA I guess. I once did something to get the size of an element. I thought it was GetElementBoundingBox. Now I use this to get the size of the element 5422, but it just DOESN'T work. What do I miss so badly for this not to work? function minMaxOutput ( theElement ) local x0, y0, z0, x1, y1, z1 = getElementBoundingBox ( theElement ) if ( x0 ) then outputChatBox ( "The coords are: " .. x0 .. ", " .. y0 .. ", " .. z0 .. ", " .. x1 .. ", " .. y1 .. ", " .. z1 ) else outputChatBox ( "Failed to retrieve bounding box" ) end end minMaxOutput ( createObject ( 5422, 5540.6654, 1020.55122, 1240.545, 0, 0, 0 )) I'm probably making a huge mistake here, but can anyone tell me to get me the data I want? PS: The error message says i'm trying to take a global 'getElementBoundingBox' (nil value) or something like that I recall.
  5. laurens

    Season's Greetings

    Then why did you come back? You're interested, you're just being a impatient child. Grow up and learn to have patience like the rest of us. You are invaluable, since your attention span is too short to stick around long enough to do anything productive for the community. You didn't even have enough attention to pay to your own terrible spelling. Merry Christmas you mod hopper, go complain on some other mod forums that you are too impatient to wait for. UT has alot of mods, you won't be bored there. Be realistic man. Snickers is rather late in losing interest. There have been hundreds of people before him already. A 3 year wait is just rather long, there's no excuse for that.
  6. I still remember the days that some people joked about MTA:SA being released after GTA:IV came out. Makes me laugh now.
  7. Tried it and it doesn't work either There seems nothing wrong with the coding, so that's why I think it's a bug inside the MTA core.
  8. Tried it and it doesn't work either There seems nothing wrong with the coding, so that's why I think it's a bug inside the MTA core.
  9. I refer to this topic for more detail.
  10. I refer to this topic for more detail.
  11. Hello MTA community. For a few months now, I'm waiting for support. I have fully playable gamemode waiting on my computer to get released. There's only one thing that stops me from releasing it for those months. A spawnbug. I am 100% sure it's a bug since I stripped down the code to the bare minimum it needs to let the bug occur. On mIRC I got promised a few times that they would help me. But I had to ask another time because they were busy. Now, after months, I'm still not helped. This bug has stopped me from creating any more gamemodes for MTA. So this is my very last and desperate attempt: does any of the MTA developers want to help me and at least watch what happens when you spawn? I will post a few pictures of the gamemode of mine soon. So hopefully, a few of you might get excited about it.
  12. Hello MTA community. For a few months now, I'm waiting for support. I have fully playable gamemode waiting on my computer to get released. There's only one thing that stops me from releasing it for those months. A spawnbug. I am 100% sure it's a bug since I stripped down the code to the bare minimum it needs to let the bug occur. On mIRC I got promised a few times that they would help me. But I had to ask another time because they were busy. Now, after months, I'm still not helped. This bug has stopped me from creating any more gamemodes for MTA. So this is my very last and desperate attempt: does any of the MTA developers want to help me and at least watch what happens when you spawn? I will post a few pictures of the gamemode of mine soon. So hopefully, a few of you might get excited about it.
  13. Looks like an awesome script! Maybe it's somehow possible to (pseudo-)synchronize the moving objects by having a timer send the position of the object every few seconds, and to make it go smooth the object should get moved by using the moveObject() function I can't seem to find the download link though!
  14. Looks like an awesome script! Maybe it's somehow possible to (pseudo-)synchronize the moving objects by having a timer send the position of the object every few seconds, and to make it go smooth the object should get moved by using the moveObject() function I can't seem to find the download link though!
×
×
  • Create New...