Jump to content

Woovie

Retired Staff
  • Posts

    1,093
  • Joined

  • Last visited

  • Days Won

    15

Everything posted by Woovie

  1. Yeah I'm not too much a fan of the forum skin. But I like full width sites always. Easy fix, I can deal with the default theme. I like the idea of the theme, just not the execution.
  2. well works on mine when i host but offline NONONONONONONONO@! urdiioin it wrong1
  3. ey also sens it on free roam serves. so manie car spwns.
  4. Actually that's exactly the problem. Click to see full size. IMHO, you should center the message and scale down the window. Doing it on my server personally. ALSO: Your images may only be up to 600 pixels high. Your images may only be up to 800 pixels wide. F U PAL! Get an image resizing script and go bone yourself.
  5. Yes Stuart. Google it a bit and it could be several things. Does this IRC script send IDENT ? Cause Rizon apparently requires IDENT.
  6. It doesn't use the same method and I think it's broken.
  7. I got the basics working, but the GTANet portion turns me off. If I could get it working on Rizon I'd use it.
  8. Testing now Edit:Some 'bugs' to list. The compile .bat has the program files for x64 systems AND this requires jdk apparently. I am now downloading and installing JDK to attempt to compile. Edit2: All bats have x64 directory. Make 2 bats for dumb people I suggest. And maybe binaries for Windows users cause most are dumb ? Edit3: Problems connecting to a different IRC server. I want to use rizon but it stops at 'please wait while we process your connection' Much googling lead to the conclusion of no IDENT.
  9. Wow this is really amazing! Keep it up!
  10. Wow this is really amazing! Keep it up!
  11. Piotr, do you know what SVN is ? You can get the framework through it.
  12. Woovie

    Server Problem

    It happens because you can't read.
  13. The server doesn't even get far enough to debug... I literally type ./mta-server and it returns 'segmentation fault'
  14. eAi, I want OffRoader23 to update the current version and I haven't been online a the same time as him lately. But it'll be there soon. Edit; To clarify, I mean update his community.multitheftauto.com download.
  15. Thanks, will come in handy while testing my script.
  16. Sounds like you've learned quite a bit since I last saw you XOwnage
  17. A link for pastebay: http://mta.pastebay.com/78022 Or you can copy it from here: local thisResourceRoot = getResourceRootElement(getThisResource()) function activateBreak ( ) if ( carbreak ) then carbreak = nil setElementCollisionsEnabled ( getPedOccupiedVehicle ( getLocalPlayer() ), true ) setGravity ( 0.008 ) removeEventHandler ( "onClientRender", getRootElement(), checkBreak ) else carbreak = 1 setElementCollisionsEnabled ( getPedOccupiedVehicle ( getLocalPlayer() ), false ) setElementVelocity ( getPedOccupiedVehicle ( getLocalPlayer() ), 0, 0, 0 ) setGravity ( 0.001 ) addEventHandler ( "onClientRender", getRootElement(), checkBreak ) end end addCommandHandler ( "airbrake" , activateBreak ) function thisResourceStart () bindKey ( "b", "down", activateBreak, "AirBreakDance" ) end function checkBreak() if isPedInVehicle (getLocalPlayer()) then local vehicle = getPedOccupiedVehicle ( getLocalPlayer() ) setElementVelocity ( vehicle, 0, 0, 0 ) local px, py, pz = getElementPosition ( vehicle ) local rx, ry, rz = getElementRotation ( vehicle ) setElementRotation ( vehicle, 0, 0, rz) if ( getKeyState ( "num_8") ) then local x = (2)*math.cos((rz+90)*math.pi/180) local y = (2)*math.sin((rz+90)*math.pi/180) local nx = px + x local ny = py + y setElementRotation ( vehicle, 0, 0, rz) setElementPosition ( vehicle, nx, ny, pz ) end if ( getKeyState ( "num_5") ) then local x = (-2)*math.cos((rz+90)*math.pi/180) local y = (-2)*math.sin((rz+90)*math.pi/180) local nx = px + x local ny = py + y setElementRotation ( vehicle, 0, 0, rz) setElementPosition ( vehicle, nx, ny, pz ) end if ( getKeyState ( "num_4") ) then setElementRotation ( vehicle, 0, 0, rz + 5) end if ( getKeyState ( "num_6") ) then setElementRotation ( vehicle, 0, 0, rz - 5) end if ( getKeyState ( "num_add") ) then setElementPosition ( vehicle, px, py, pz + 2) end if ( getKeyState ( "num_sub") ) then setElementPosition ( vehicle, px, py, pz - 2) end end end addEventHandler ( "onClientResourceStart", thisResourceRoot, thisResourceStart ) Help file: <help> Vehicle Airbrake Script By: OffRoader23 Controls: 'B' Enable/Disable Airbrake 'Num Pad 8' - Move Forwards 'Num Pad 5' - Move Backwards 'Num Pad 4' - Rotate Car Left 'Num Pad 6' - Rotate Car Right 'Num Pad +' - Move Car Up 'Num Pad -' - Move Car Down </help> Meta file: <meta> <info author="OffRoader23" description="Car Airbrake System" /> <script src="brake.lua" type="client" /> <config src="help.xml" type="client" /> </meta> Don't bother telling me I stole his code. First of all, I am simply posting a working version. Secondly, he's my friend and I talk to him everyday. I am not claiming his code as mine and even if I did, he wouldn't care.
×
×
  • Create New...