Jump to content

Mr.Hankey

Members
  • Posts

    625
  • Joined

  • Last visited

Everything posted by Mr.Hankey

  1. MTA 1.0 is not released yet. However (as MTA went open source) there's a nightly client built every "night" including the latest changes.
  2. dragon was talking about the race gamemode of MTA 1.0 which will be the next client release... You seem to be one of those people who think that MTA DM is just about dm but it really isn't. The current race gamemode for MTA 1.0 (which was previously named MTA:DM DP3) is able to fully replicate what was possible in MTA:Race and also adds a few new features.
  3. nah Kosmo thats another issue I experienced that flickering issue too it looks like the element is constantly having it's alpha going up to 255 where it gets reset to 0 and starts going up again etc.
  4. i think the "vehicle_look_left/right" controls are used for that
  5. setCameraMatrix and getCameraMatrix are replacing most of the old DP2 functions.
  6. Mr.Hankey

    Climbing

    Whoever told you that I'm the author of the climbing gamemode is an idiot as well...
  7. A better way would be to just add another event clientside that the server triggers when 'SampleFunction' is done. Client: triggerServerEvent("SampleEvent", getLocalPlayer()) function callComplete () --continue end addEvent( "SampleFunctionDone", true ) addEventHandler( "SampleFunctionDone", getRootElement(), callComplete) Server: function SampleFunction( ) outputChatBox( "Doing Sample Function", source ) -- do something useful triggerClientEvent( source, "SampleFunctionDone", source) end addEvent( "SampleEvent", true ) addEventHandler( "SampleEvent", getRootElement( ), SampleFunction )
  8. 'source' is a hidden variable that most events are using to define which element triggered the event. You don't have to declare it it's already there.
  9. Looks fine for me http://i31.tinypic.com/9jfzah.png
  10. https://forum.multitheftauto.com/memberl ... le&u=40647 -> https://forum.multitheftauto.com/viewtop ... ad#p293894
  11. http://development.mtasa.com/index.php? ... g_properly
  12. math.floor or math.ceil is what you need to get rid of all those decimal numbers
  13. you might want to take a look at the math-library
  14. as the wiki says that argument is only available from version 1.0 onwards so in dp2.3 it doesn't work
  15. wow im suprised people still use my crappy attempt to make a race-like editor for dm anyway i can just strongly suggest you to switch over to the 1.0 editor for nightly builds
  16. https://nightly.multitheftauto.com you might also want to check the vg forums to see look up the revision they're using atm
  17. the deathmatch resource from the svn uses it (NOT the one on the community page!)
  18. the missiontimer resource exports a few functions (you can see them in the meta.xml file) that can be used by other resource using the call function but you may need to look up their parameters in the lua files itself
  19. when you're outside the 3000x3000 world bounds most melee weapons stop working so that could be the cause
  20. In your serverside script the variable "client" is not declared... You should rather use "source" as the local player (the client) is passed as the root element (source variable) for your event
  21. ALAKAZAM used PARALYSIS! robhol hits himself!
  22. setSkyGradient (100, 50, 0, 70, 0, 0) worked quite well on my old Note how the lower sky color affects the whole screen.
  23. what about making headshots remove the zombie's head instead of insta-killing it? That's how it used to be in the zombie games i played so far
  24. LINQ contains a few XML functions i guess that's what robhol used it for
×
×
  • Create New...