Jump to content

mjau

Members
  • Posts

    589
  • Joined

  • Last visited

Everything posted by mjau

  1. mjau

    The Best OS

    Ubuntu, simply because its the only one i have been using. And i know alot of other people using it too. However if you dont have any experience running linux at all i suggest you read a bit about it. Can be a bit complicated at first.
  2. Haha, when you cant even get leaked scripts to work damien i doubt there is any chance for your RPG. Good luck tho. And guess someone can lock this topic as this is a stolen resource from WSS:RPG. I can provide proof if needed.
  3. local vch = getElementHealth ( getElementData(player,"Car") Returns false. Im not sure what you are trying to do but getElementData returns a string with data. while getElementHealth needs a vehicle element to work.
  4. mjau

    handling line

    I know, You can see i quote that, I was just explaining .. Exactly what were you explaining, i use this in my server and it works perfectly fine. This makes every car of the model 411 get the handling function infernus() local veh = 411 setModelHandling(veh, "mass", 1500) setModelHandling(veh, "turnMass", 4000) setModelHandling(veh, "dragCoeff", 2.2) setModelHandling(veh, "centerOfMass", { 0, 0.3, -0.15 } ) setModelHandling(veh, "percentSubmerged", 85) setModelHandling(veh, "tractionMultiplier", 0.7) setModelHandling(veh, "tractionLoss", 0.9) setModelHandling(veh, "tractionBias", 0.52) setModelHandling(veh, "numberOfGears", 5) setModelHandling(veh, "maxVelocity", 200) setModelHandling(veh, "engineAcceleration", 22) setModelHandling(veh, "engineInertia", 5) setModelHandling(veh, "driveType", "awd") setModelHandling(veh, "engineType", "petrol") setModelHandling(veh, "brakeDeceleration", 6) setModelHandling(veh, "brakeBias", 0.55) end addEventHandler ("onResourceStart", getResourceRootElement(getThisResource()), infernus) If you want it to only change for a few cars u use setVehicleHandling and the first argument is the vehicle element, you can create the vehicle in the script like veh = createVehicle(...)
  5. mjau

    handling line

    Replace setVehicleHandling with https://wiki.multitheftauto.com/wiki/SetModelHandling
  6. Hvorfor er du her da. oversettere gjør mange feil og noe du skriver kan forvirre. hold deg til den nederlandske tråden og la de norske få ha sin her. English: Why are you even here then ?, translators make many mistakes and something you write might confuse the person that needs help. stay at your native language forum and let the norwegians/swedish and danish people have their.
  7. Well then ofc i belive you could use timers, so the first timer trigger when the player presses W and after he have held it for lets say 3 sec it changes to higher rpm sound and so it goes. And just to tell you, everything on youtube isnt real, editing a video to change the vehicle sound isnt hard.
  8. mjau

    Plane wings

    https://wiki.multitheftauto.com/wiki/Ge ... PanelState https://wiki.multitheftauto.com/wiki/Se ... PanelState
  9. Im not 100 percent sure, but i dont belive this is possible. unless there is some way to detect the RPM of the engine.
  10. Some example showing what you are able to do would be nice.
  11. function Changemap (thePlayer, cmd, goTo) exports.mapmanager:changeGamemodeMap (goTo) outputChatBox(getPlayerName(thePlayer).." changed the map!") end addCommandHandler("goto", Changemap) Im not sure myself as i never worked with the mapmanager, but i belive this is right. Ingame do /goto mapname
  12. mjau

    loggin admin

    The first error is that u are trying to use thePlayer parameter but u never passed it from the server side, Second, are u sure that error is on the client side ?
  13. Well, i dont think anyone will buy that, since they can buy a gridlist menu which i belive works much better.
  14. Uhm, i think you are asking too much from a scripter, most people here use paypal, and at the same time u want the scripter to be german or french. i actually dont think anyone here fits those requirements.
  15. mjau

    getUnbanTime

    Uhm, now it counts the right way, but dont start at 60 when i do command it varies.
  16. mjau

    getUnbanTime

    Noone knows how to use this function ?
  17. mjau

    getUnbanTime

    Wiki says Returns an integer of the unbanning time in the format of seconds from the year 1970. Use in conjunction with getRealTime in order to retrieve detailed information. And i tried without all that stuff, and it shows me a hell lot of numbers
  18. mjau

    getUnbanTime

    Well you were on something, it showed -60 seconds
  19. mjau

    getUnbanTime

    Ah, lemme try switching those 2. will see if it works
  20. mjau

    getUnbanTime

    Lo, im trying to show the time left of an ban in seconds, but whenever i run the code it displays 0, even tho it is 60 secs left function test() local ban = addBan("123.123.123.123", nil, nil, rootElement, "nab", 60) local timeLeft = getUnbanTime(ban) - getRealTime().timestamp local dateLeft = getRealTime(timeLeft) outputChatBox(tostring(dateLeft.second)) end addCommandHandler("testja", test) Any help ?, btw no hard math expresions or anything, i suck at math
  21. mjau

    Help..

    Well if it dont work in singleplayer it got to be something wrong with your files.
  22. mjau

    Help..

    You made the warehouse.txd and warehouse.dff yourself ?
  23. This can be made by lua, the map editor is made by lua. so you are allowed to try If you make it, show mta team it, if its good enough it will be added
  24. Im sorry but i can handle everything else myself, ofcourse you are allowed to contribute with something but the script i really need i told about in the main post
  25. Bump, really is noone interested in this ?
×
×
  • Create New...