Leaderboard
Popular Content
Showing content with the highest reputation on 07/09/18 in all areas
-
Multi Theft Auto: San Andreas 1.5.6 is released Today the MTA team is delighted to announce the release of MTA:SA 1.5.6. You will receive an automatic update soon, but if you don't have MTA installed, you can get it from the home page . There are many changes and improvements across the board, but one feature stands out as being especially exciting: custom animations! This has been a feature on our radar for many years, and @Saml1er was the one who decided to make what many have considered a dream, a reality. Take a quick look at this video of custom animations in action to get a glimpse of what's possible: Changes This release includes many additions, improvements, and fixes. Find the complete set of changes, and more information about the improvements listed below, in the 1.5.6 release notes. If you'd like to keep on top of all the things we're working on, why not watch or star our GitHub repository? Here is a heavily cut-down selection of features and fixes. Highlights: New features Ordered roughly by reverse chronological order New languages Bulgarian, Indonesian and Chinese (Traditional) (a3217) New server console feature for arrow command history (#274 by myonlake) New ACL property ModifyOtherObjects.resourceName for one resource only (6614d) New element functions getElementAngularVelocity, setElementAngularVelocity (#73 by lex128) New chat function clearChatBox (#215 by CrosRoad95) New vehicle functions getVehicleRespawnPosition, getVehicleRespawnRotation, setVehicleRespawnRotation (#334, #338 by l0nger) New goggle effect parameter "noiseEnabled" parameter to setCameraGoggleEffect (#324 by samr46) New drawing function dxDrawCircle (#266 by CrosRoad95, Saml1er) New jetpack functions setPedWearingJetpack, isPedWearingJetpack (#243 by Dezash) New element function getElementsWithinRange (de149) New GUI functions guiWindowIsMovable, guiWindowIsSizable, guiEditGetMaxLength, guiEditIsMasked (#272, #255 by FileEX) New fire function extinguishFire (#207 by CrosRoad95, #252 by myonlake, also 7838b) New world functions getPedsLODDistance, setPedsLODDistance, resetPedsLODDistance (#231 by CrosRoad95) New GUI scrollbar functions guiMemoSetVerticalScrollPosition, guiMemoGetVerticalScrollPosition (#248 by myonlake) New GUI functions guiMemoIsReadOnly, guiEditIsReadOnly (#236 by FileEx) New special property "underworldwarp" (#208 by CrosRoad95, #222 by myonlake) New vector support for collision functions (#217 by myonlake, #163 by Pawelo / 4O4) New animations functions setPedAnimationSpeed, engineLoadIFP, engineReplaceAnimation (Saml1er, with some help from Icensow, raw data loading courtesy of #247 by samr46) New colshape function isInsideColShape (#195 by tederis) New vehicle function for client-sided setVehicleHandling (#192 by Renkon) New world sound parameter to setWorldSoundEnabled to stop sound immediately (44844) New ped weapon function isPedReloadingWeapon (#149 by Neproify) New debug hooks pre/postEventFunction added to addDebugHook (#126) New event parameter "deleted" add to onResourceStop (98502) New vehicle function isVehicleWheelOnGround (#146 by ZReC) New command reloadacl (#131 by Timic) Enable switching camera view mode for trains (#125 by ZReC) New encode functions encodeString, decodeString (#184 by SDraw) New pickup events onPickupLeave & onPlayerPickupLeave (#176 by emre1702) New account functions getAccountIP, getAccountsByIP, getAccountsByData & setAccountName (#164 by emre1702) Highlights: Bug fixes and tweaks getChatboxLayout now works as advertised (#254 by myonlake) Return 2 vectors for ele:getBoundingBox (#305 by Pirulax, #332 by Addlibs) Fix inconsistencies in reading userdata in Player functions (#308 by Addlibs) Improve debug info for garbage collected files (#312 by Dezash) Fix crashes with account functions when using empty strings (faa57) Missing bShallow for server-side water (#240 by myonlake) Fix spawnPlayer rotation not working properly (#258 by myonlake) Fix false elements in getElementsWithinRange (#300 by Sergeanur) Removal of the /whowas command (0cffa) Improve connect to disconnect you less frequently (7fc29) Make connect port argument default to 22003 (d698b) Fix many bugs related to animations, jetpack and choking (#229 by myonlake) getVehicleType not being consistent server/client side (b08f3) Fix custom CEGUI skins accidentally breaking dxDrawRectangle (4e57a) Ignore colorcodes while tabbing in chatbox (#238 by Timic) Various bind tweaks, please tell us if something is broken (by emre1702) Fix empty string in getVehicleNameFromModel (instead of false) (#219 by emre1702) Weather blending improvements (#204 by emre1702) Fix 'stream_title' meta tag when the playback is started (#206 by Sergeanur) Fix problems when using a controller with more than 7 axes (382a3) Console no longer displays an error message when pressing the key of a disabled MTA control (23dad) Fix crash caused by calling client-side setPlayerNametagShowing with a ped (554a2) Fix server crash on server-window resize (becf0) Download This release is backwards compatible with the older 1.5.x releases (1.5.5, 1.5.4, all the way to 1.5). However, if you would like to take advantage of all of these useful changes, you will need to go and download the update! Servers: binaries are available, and don't forget to update your default resources. What's next? We're continually working on new features and fixes for MTA. If you're happy to report bugs and crashes do try out our Nightly release stream. You can do this by going into Settings -> Advanced -> Auto updater -> Update build type. Change to "nightly" and hit "Check for update now". Only do this if you like crashing and like filling out bug reports. We're also working on a brand new community: we want your suggestions, ideas and feedback! If you have any questions or would just like to chat with the community, do check out our official Discord server. We have channels for scripting, general support (bugs), mod development, and many more! Thank you! Thank you very much to the following community members for their work towards this release: Addlibs, ArranTuna, CrosRoad95, Dezash, Dutchman101, Einheit-101, emre1702, FileEX, forkerer, Icensow, jlillis, l0nger, lex128, lopezloo, MIKI785, myonlake, Neproify, Pawelo / 4O4, Pirulax, Renkon, samr46, SDraw, Sergeanur, tederis, Timic3, ZReC, and many others who helped document on the wiki, reported bugs, and helped out with issues. (If your name is missing or you want to change your entry above, please PM @qaisjp) You could be on this list! We're always on the lookout for new contributors. Contribute on GitHub, and chat with us on Discord. Finally, everyone, please give a ? to the newest maintainer of Multi Theft Auto: @Saml1er. Until next time, The MTA Team27 points
-
3 points
-
It is inspiring to witness such a great work done by MTA team and all the people involved, keep it up!3 points
-
Great milestone for MTA (fun fact: if I'm not wrong, implementing custom animations required more than 3,000 lines of code! Huge props to you, Saml1er, for making this a reality). Good job to all the contributors! ??3 points
-
يسوي لوب علي الجدول اللي في Wasted , Spawn عشان تصير بالشكل دا يعني onClientPlayer..event = onClientPlayerWasted و باقي الجدول2 points
-
+ 1 او ممكن يسوي طريقه اخره جت علي بالي local AlivePlayers, Events = 0, {"Wasted", "Spawn", "Quit", "Join"} function updateAlivePlayers() AlivePlayers = 0 for i,v in ipairs(getElementsByType("player")) do if not isPedDead(v) then AlivePlayers = AlivePlayers + 1 end end end for _,event in ipairs(Events) do addEventHandler("onClientPlayer"..event, root, updateAlivePlayers) end بحيث نتجنب اللوب في الريندر2 points
-
2 points
-
2 points
-
Finally! Great job to all involved with making this amazing release. But one person specifically stands out for his huge effort into bringing a feature that has been wanted for so many years (including by myself). Huge props to you @Saml1er and of-course the MTA community as a whole. Keep up the good work!2 points
-
Hi there! Time sure flies fast, doesn't it? It has been a while since the last post from us so we would like to give you an update on what has been going on recently with MTA:SA. We have got two highlights for you this time. The community Do you remember our Community website? It has served us well over the years but has also caught some rust in the process. Therefore, we would like to re-visit it and improve your experience with discovering and publishing resources. Our plan is to build a new community website from the ground up using modern technologies, and we would like to hear from you what you would like to see on the new platform. Please respond to this thread with your ideas and suggestions. Technically inclined users can take a look at the first pass of our specification document. Development progress As for the mod itself, we have received many pull requests (patch contributions) on our GitHub from open source contributors lately. One of such contributions is a brand new feature: custom IFP animations support, coming from one of our community members, Saml1er. He managed to get this to work nicely in MTA:SA, while ensuring that our coding standards are met so we could include it without too much hassle. Saml1er even made a video which showcases what this feature is all about. You can find it below: We intend this to be a part of our upcoming 1.5.6 release which we hope will come soon, but you can try it out now by using a nightly build: https://nightly.multitheftauto.com/ Tips for using this can be found on our wiki: https://wiki.multitheftauto.com/wiki/EngineLoadIFP That's all for now. Take care and enjoy the summer! — MTA Team1 point
-
1 point
-
لاحظ الجدول .. لما اللوب يتنفذ هيكونو هيك onClientPlayerJoin/onClientPlayerQuit/onClientPlayerWasted/onClientPlayerSpawn1 point
-
1 point
-
That'd be really inefficient calling this function over and over yet, that ain't possible I guess. A really efficient way that just come in my mind is that you initialize the account state when the player joins the server and store it in a global variable client side. An example: accountState = nil function theClientSideEventThatInitializesLoginPanel(accState) accountState = accState end addEvent("theClientSideEventThatInitializesLoginPanel", true) addEventHandler("theClientSideEventThatInitializesLoginPanel", resourceRoot, theClientSideEventThatInitializesLoginPanel) function render() -- Your rendering function -- Here you can use the accountState variable however you like. end1 point
-
1 point
-
Today has been an update which adds clearChatBox Update your client/server and try it again.1 point
-
1 point
-
1 point
-
سوي تايمر .. بعدين استخدم onResourceStop getTimerDetails setAccountData و احظفها علي حساب اللاعب بعدين onResourceStart getAccountData setTimer1 point
-
excellent update. Thank you all so much for making this possible1 point
-
the new custom animation looks lit!! gj mta team! and there is localization for indonesian, nice1 point
-
Wow great 1.5.6 finally good job to all MTA team ! Thanks @samI1er for that amazing custom animation really great good job MTA1 point
-
ماينفع لان اللون يختلف يبيه على حسب الكلام ولو سوا نفس طريقتك على اللون بيصير لحسه ومايعتبر اختصار يصير نفس الشي1 point
-
تقدر تختصرها كذا حط مكان الكلام الي بالدي اكس كذا ( isPedOnGround ( localPlayer ) and "True" or "False" )1 point
-
1 point
-
Client : addEventHandler('onClientRender',root, function() dxDrawText('Players Count :'..tonumber(getElementData(resourceRoot,'Players')) or 0, 63, 231, 466, 305, tocolor(255, 255, 255, 255), 1.00, "default", "left", "top", false, false, false, false, false) end ) Server : function Count() setElementData(resourceRoot,'Players',#getAlivePlayers()) end setTimer(Count,50,0) OR Server : setTimer(function() triggerClientEvent('GetNumber',root,#getAlivePlayers()) end,50,0) Client : addEvent('GetNumber',true) addEventHandler('GetNumber',root, function(Number2) Number = Number2 end ) addEventHandler('onClientRender',root, function() dxDrawText('Players Count :'..Number or 0, 63, 231, 466, 305, tocolor(255, 255, 255, 255), 1.00, "default", "left", "top", false, false, false, false, false) end )1 point
-
I hope it will get fixed, i love this library and i don't wanna change it, i'm making my whole server based on it1 point
-
اغلبكم ماشاهد الاستطلاع هذا ولكنه مهم جداً .. اتمنى التصويت!1 point
-
1 point
-
تقدر تسوي إنه يضغط زر معين , يعطيه حركة معينة Animation ويسويله toggleAllControls وتسوي لما يضغط يحرك اللاعب بتسويله attachElements وتحرك الاوبجكت او المجسم الي سويتله اتتاش وتقجر تسويه اوبجكت مخفي بدل م يكون مخفي,تسويله setElementAlpha1 point
-
function GuessShodan() local adadshansi = math.random(9999,9999) setPlayerName(source , Guess#adadshansi ) end addEventHandler("onPlayerJoin",root , GuessShodan)0 points