Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 25/12/18 in all areas

  1. Hi there. The Winter Holidays are here, so as usual we have got a new recap and status update post for you. Here is the summary of what has happened this year. ? 2018 in Recap We made efforts towards the new release through the first half of the year, so there was not much to talk about. There was an incompatibility issue with the 360 Total Security software which we advised you about and later in the year, there was a similar issue with McAfee. Late July, we have asked you about your thoughts about refreshing the community.multitheftauto.com portal. We have received some interesting feedback from you and we are still thinking about ways of implementing it, while considering our current resources. Also in July, we have migrated our bug tracking services to GitHub Issues, making it easier to track specific issues and link them to GitHub commits and pull requests. This has also allowed us to clean up our bug tracker - the old system had nearly 8000 tracked issues, some of which were 13 years old or so. On 7th of September, we have released Multi Theft Auto: San Andreas 1.5.6. This release added support for custom IFP animations among other things, like fixing the input and FPS lag reported by some of our users. Then a few days later, we have advised you to upgrade your MTA:SA servers to the latest version due to a server crash exploit that was discovered. There were some additional issues with this hotfix that were spotted later, but they have been all fixed within few days. If you have not yet upgraded your servers though, we still urge you to do so. ? A bunch of interesting MTA:SA-related YouTube videos from this year nX_ Vol.18 - CodeNX™ - 첫 장 - video by ElCrowMvs / map by nX [GTA:DM] Wonder - Interstellar - by Wonder MTA [MTA] Vice City - Map Preview #1 (JStreamer v3) - by Liberty City Roleplay Multi Theft Auto - Tactics - by LoG4nTG Multi Theft Auto - MTA CIT / GTA SA - San Andreas Police Department's 7th Anniversary (Dance Show) - video by PeteyFTW / server: CIT Multi Theft Auto San Andreas Fail + Funny moments #1 - by Mr. Green Gaming Multi Theft Auto: San Andreas - MTA DD - Map: Orgazm Cross - video by Game Master / map by Orgazm MTA:SA Fast And Furious Paradise Trailer ! - by SDRIFTER Abdlmounaim ? Current player counts and version fragmentation statistics Type Amount of players Date / Time Recent peak number of concurrent unique players 30625 players 2018.12.16 (at 16.30 GMT) Highest recorded number of concurrent unique players 34653 players 2018.02.03 (at 17.30 GMT) Recent number of daily unique players 150390 players 2018.12.01 (Saturday) Highest recorded number of daily unique players 185818 players 2018.02.03 (Saturday) Recent number of monthly unique players 605834 players November, 2018 Highest recorded number of monthly unique players 805903 players January, 2018 Player counts were just slightly lower than last year, but we have also had some nice peak values at the beginning of the year. Good to see that there is still an interest in old but great games. MTA:SA Version or series Percentage of players using that version or series as of 24th of December, 2018 1.6.0 (alpha) 0.05% 1.5.6 97.20% 1.5.5 2.00% 1.5.4 (and older) 0.40% 1.4.x 0.20% 1.3.x 0.15% Similar to last year, two of our most recent releases are used by over 99% of our player base. It means that there is little fragmentation between our releases and that players in general upgrade to the newest release once it is available. Also, there seems to be some interest in the newest alpha version as well - that is nice too. ? Status updates Community-wise, our Discord has expanded this year - currently we have got 10 language-specific sections available for you there, as well as the active as usual English ones. We have also opened a new forum section recently to keep appeals for global game bans in one place. Over the next few weeks we intend to refresh our forum rules to better suit the current forum needs. As for mod's development, we will continue working on the next release. We are thinking of integrating a new version of the client installer to reduce amount of issues encountered when installing MTA:SA (as well as to make it easier to investigate the remaining ones). We will also consider adding new features provided by our community members, such as editing collisions and adjusting surface properties by CrosRoad95. That's it for now. ?❄Happy Holidays and all the best to you in 2019! ? -- MTA Team
    5 points
  2. Não. Isso não existe: or 2 or 3 or 4 or 5 or 6 or 9 or 22 or 24 or 25 or 26) then E pq vc fica citando a si mesmo em vez de mandar mensagem normal?
    2 points
  3. بسم الله الرحمن الرحيم الصلاة والسلام على اشرف الانبياء والمرسلين نبينا محمد عليه افضل الصلاة واتم التسليم, اما بعد: أقدم لكم دورتي لـ تعلم لغة برمجة لوا.. ملاحظة: توجد مشكلة في الدرس الثاني الا وهي صغر الخط, وتم حلها ولن تتكرر في الدروس القادمة باذن الله تعالى MTA الدورة لا تتوجه لـلعبة ولكنها تتكلم عن البرمجة بشكل عام بالاضافة لتعليم وتدريس في لغة لوا اذا كان فيه نوع من الاقبال والتفاعل سأتخصص بـ برمجة ام تي ايه بالاضافة لبرمجة الديسكورد وشرح بعض اللغات الاخرى دمتم سالمين في أمان الله..
    1 point
  4. ✱| السلام عليكم ورحمة الله وبركاته |✱ __________________________________________________ ✱| أخباركم يا شباب عساكم بخير |✱ __________________________________________________ ✱| بقدم لكم اليوم حصريات سيرفر شباب المملكة الجديده والحصرية |✱ __________________________________________________ ✱| وأبي ارائكم وإقتراحاتكم وتقييمكم للسيرفر |✱ __________________________________________________ ﷽ 'صورة لأف '1 | freeroam : __________________________________________________ (صورة لإف '2' ( اخبار السيرفر | Twitter : __________________________________________________ ( صورة لإف '3' ( الوزنيات والتحكم بالموتر : __________________________________________________ ( صورة لإف '4' ( الإنتقالات و حفظ المكان : __________________________________________________ ( صورة لإف '5' ( شراء رتبة : __________________________________________________ ( صورة لإف '6' ( القوانين : __________________________________________________ ( صورة لإف '7' ( التحكم باللاعب - حفظ الشخصية : __________________________________________________ ( صورة لإف '9' ( الشيلات : __________________________________________________ ( صورة لإف '10' ( مهمة الحرب : - __________________________________________________ المابات صور للبداية : - __________________________________________________ صور لمنتجع شباب المملكة : __________________________________________________ صور لساحة القتال : __________________________________________________ صور لشارع الهجولة الجديد : __________________________________________________ صور للسيل : __________________________________________________ IP: mtasa://178.32.115.96:22003 __________________________________________________ ٱن شـاء اللـٌہ عجبكم السيرفر __________________________________________________ المودات والمابات كل فترة تتطور وتتحدث بشكل مستمر __________________________________________________ وشكرا لكم
    1 point
  5. Currently I'm working on a new map editor with more features and a more user friendly UI however a major thing I'd like to see is what you (The Community) want to see added in the editor. If you respond with a feature request please state the name of the feature or tool as well as a brief description; I'll be posting some screen shots of what the new tool will look like as soon as I have the basic functionality done.
    1 point
  6. São estas funções: setPedArmor( ThePlayer, 100 ) setElementModel( ThePlayer, skinID ) giveWeapon( ThePlayer, weaponID, true ) Coloque depois de "else" na linha 7. Deixe seu código mais legível e organizado, indente o seu código.
    1 point
  7. حتى انا دخت ~. .. ==) ~ بتووفيق .. بس سؤال غريب شوي , الأونرية مسيحين ؟ .. ~ mdrr. ولا تتضايق من سؤالي ..
    1 point
  8. كنت مستعجل بالكتابة لدرجة اني ما دريت وش كتبت اصلا
    1 point
  9. function revistar_jogador(player,cmd,nick) local accName = getAccountName(getPlayerAccount(player)) if not isObjectInACLGroup ("user."..accName,aclGetGroup("ComandosPolicia")) then return outputChatBox("#000000[#ff0000POLICIA#000000] #c1c1c1Você nao tem permissao a este comando!",player,255,255,255,true) end local toPlayer = getPlayerFromPartialName(nick) if not toPlayer then return outputChatBox("#000000[#ff0000POLICIA#000000] #c1c1c1nick invalido!",player,255,255,255,true) end local toPlayerName = getPlayerName(toPlayer) local playerName = getPlayerName(player) local toPlayerWantedLv = getPlayerWantedLevel(toPlayer) local px,py,pz = getElementPosition(player) local tpx,tpy,tpz = getElementPosition(toPlayer) local dist = getDistanceBetweenPoints3D(px,py,pz,tpx,tpy,tpz) if dist >= 5 then outputChatBox("#000000[#ff0000POLICIA#000000] #c1c1c1Chegue Mais Perto Do Jogador Pra Executar Este Comando!",player,255,255,255,true) else setPedAnimation(player,"POLICE","plc_drgbst_01",3100,true,false,false,false) checar_armas(player,toPlayer) outputChatBox("#000000[#ff0000POLICIA#000000] #c1c1c1O #ff0000Policial #ffffff"..playerName.." #c1c1c1esta #ff0000Revistando #c1c1c1o #ff0000Suspeito "..toPlayerName,root,255,255,255,true) setTimer(outputChatBox,3390,1,"#000000[#ff0000POLICIA#000000] #c1c1c1Nivel de #ff0000Procurado #c1c1c1do #ff0000Suspeito#c1c1c1:"..toPlayerWantedLv,player,255,255,255,true) triggerClientEvent(player,"doShowDXProgressBar",root) end end addCommandHandler("revistar",revistar_jogador) function checar_armas(player,toPlayer) for i=1,12 do local weaponID = getPedWeapon(toPlayer,i) if weaponID~=0 then outputChatBox("#000000[#ff0000POLICIA#000000] #c1c1c1Arma encontrada:"..getWeaponNameFromID(weaponID),player,255,255,255,true) end end end function getPlayerFromPartialName(name) local name = name and name:gsub("#%x%x%x%x%x%x", ""):lower() or nil if name then for _, player in ipairs(getElementsByType("player")) do local name_ = getPlayerName(player):gsub("#%x%x%x%x%x%x", ""):lower() if name_:find(name, 1, true) then return player end end end end é tipo isso?
    1 point
  10. Markertrab = createMarker(2275.962890625, -1766.6162109375, 13.546875 -1, "cylinder",2.0 ,1, 255, 0, 255) veh[ThePlayer] = () -- ERRO, uma tabela é declarada com {} e não com parênteses. function Trab(ThePlayer) if isElementWithinMarker(ThePlayer, Markertrab) then if veh[ThePlayer] and isElement( veh[ThePlayer] ) then destroyElement ( veh[ThePlayer] ) veh(ThePlayer) = nil end x,y,z = getElementPosition(ThePlayer) -- Essas variáveis provavelmente devem ser locais. Trabalho = true -- Qual a utilidade disso? veh[ThePlayer] = createVehicle(431,2266.1005859375, -1751.3544921875, 13.3828125) setPedSkin ( ThePlayer, 431 ) outputChatBox("#00ff00=========================================",ThePlayer,0,0,0,true ) -- Declare as cores nos parâmetros RGB em vez de código #hex. outputChatBox("#ff00ffLeve O Veiculo Até o Blip Em Seu Radar!!!",ThePlayer,0,0,0,true ) outputChatBox("#00ff00=========================================",ThePlayer,0,0,0,true ) end end addEventHandler( "onMarkerHit", Markertrab, Trab ) Comentei o que vi de problemas no código. Corrija-os.
    1 point
  11. ~ بتوففٌيق .. يا ليتني اععرف الرولي بلآي كآن دخخٌلت ممععك ء ;$ ~
    1 point
  12. Нет. Читай подробнее тут: http://lua-users.org/wiki/GarbageCollectionTutorial
    1 point
  13. you can do it by using team function or acl function for vips ,then for weapons or vehicle like rhino,minguns etc.. use set timer make sure you know basics of timing for example look up for this code below i made this hydra veh for my shop system were player can buy hydra for money and use it for only 5 min ! you can do same with weapon also by using give weapon function & set timer ! visit here you can get all ideas from here https://wiki.multitheftauto.com/wiki/Main_Page addEvent ("Hydra - 2m$ for 5 min",true) addEventHandler ("Hydra - 2m$ for 5 min",root, function ( ) if getPlayerMoney ( source ) > 2000000 then takePlayerMoney (source, 2000000) setElementHealth (source,200) local x,y,z = getElementPosition (source) --The source is the player that triggered the event local vehicle = createVehicle (520,x+3,y+3,z+1) -- I'll just spawn a hydra or whatever local minutes = 5 local milisec = minutes * 60000 --Just passing minutes to miliseconds. setTimer (function() destroyElement (vehicle) outputChatBox ("[Server]: 5 min is up buy again and have fun" ,source,0,255,255,true) end,milisec,1) else outputChatBox ("[Server]: You dont have enough money to spawn hydra !" ,source,0,255,0,true) end end )
    1 point
  14. Lembre-se de ocultar antes as markers (Ex: setElementVisibleTo( MarkerPM, root, false ) ). E também a variável "Trabalho" deve ser configurada para funcionar individualmente, pra quem digitou o comando. Use uma tabela no lugar (ou setElementData). Também não se esqueça de adicionar o resource na ACL.
    1 point
  15. https://github.com/CodyJL/mta-edit MTA Edit (Editor 2) Alpha, there are many things I need to finish up however it's Chirstmas eve and I'm done with it for the year so there it is. Does not have saving or loading, however that'll come next month. I've worked countless nights trying to get it done by Christmas but there's just so much and I still have a few weeks / months worth of work to put into it.
    1 point
  16. السلام عليكم اليوم رجعتلكم بيوزفل فنكشن جديد والي هو warpToPlayer طبعا الفنكشن واضح من اسمه ,. ادري ان ما بيكون له لزوم عند بعضكم ولاكن سويته للأفادة الحين نيجي لل syntax bool warpToPlayer(player thePlayer, player thePlayerToWarpTo) player thePlayer = اللاعب الي تبي تنقله thePlayerToWarpTo = اللاعب الي بينتقله Source Code : function warpToPlayer(thePlr,plrr) if getElementType(plrr) == "player" then if isPedInVehicle(plrr) then local veh = getPedOccupiedVehicle ( plrr ) local maxp = getVehicleMaxPassengers ( veh ) local passengers = getVehicleOccupants ( veh ) if maxp > 1 and #passengers ~= maxp then warpPedIntoVehicle(thePlr,veh, #passengers+1) end else local x,y,z = getElementPosition(plrr) setElementPosition(thePlr, x+1,y,z) end end end
    1 point
  17. 1 point
  18. Esqueceu de adicionar o timer do começo dentro da tabela timerVeh6. De qualquer forma eu editei o código server-side aqui que tinha alguns erros, tente: local veh6 = {} local timerVeh6 = {} function inicio6 ( vx, vy, vz, vrot ) if client ~= source or not (vrot) then return end -- cheater detected! if isElement (veh6[client]) then destroyElement (veh6[client]) end setElementData( client, "Trabalho", true, false ) -- seta o jogador no element-data "Trabalho"; sinc com o client desativada veh6[client] = createVehicle ( 401, vx, vy, vz, 0, 0, vrot ) outputChatBox ("#ffff00Drive the vehicle to the checkpoint. Note: You cannot leave the car during the mission.", client, 0, 0, 0, true) timerVeh6[client] = setTimer( addEndMissionTimer, 5000, 1, client ) local player = client addEventHandler ( "onVehicleExplode", veh6[player], function () destroyElement (source) veh6[player] = nil takePlayerMoney ( player, 5000 ) setElementData( player, "Trabalho", nil, false ) outputChatBox("Mission failed, your veh6icle blew up.", player , 255, 0, 0) end) function entrar6 (thePlayer) if isTimer (timerVeh6[thePlayer]) then killTimer (timerVeh6[thePlayer]) end end addEventHandler ("onVehicleEnter", veh6[client], entrar6) end addEvent ("iniciaJob6", true) addEventHandler ("iniciaJob6", getRootElement(), inicio6) addEvent( "completedMisionVeh6", true ) addEventHandler( "completedMisionVeh6", getRootElement(), function() if client and isElement(veh6[client]) then destroyElement (veh6[client]) veh6[client] = nil setElementData( client, "Trabalho", nil, false ) end end ) function playerDead6() if veh6[source] then outputChatBox ( "Missão falhou: Você morreu!", source, 255, 255, 255, true ) destroyElement (veh6[source]) veh6[source] = nil setElementData( source, "Trabalho", nil, false ) end end addEventHandler ( "onPlayerWasted", getRootElement(), playerDead6) function sair6 (thePlayer) --If you leave the vehicle for more than 1 min and do not return then the vehicle will disappear and the mission will failled-- if source == veh6[thePlayer] then if isTimer (timerVeh6[thePlayer]) then resetTimer (timerVeh6[thePlayer]) else timerVeh6[thePlayer] = setTimer( addEndMissionTimer, 5000, 1, thePlayer ) end end end addEventHandler ("onVehicleExit", getRootElement(), sair6) function addEndMissionTimer( player ) if player then if not ( isElement( veh6[player] ) ) then return end if getVehicleController( veh6[player] ) ~= player then outputChatBox ( "Voçê Nao entrou no veiculo a tempo mission failed", player, 255, 255, 255, true ) destroyElement ( veh6[player] ) veh6[player] = nil setElementData( player, "Trabalho", nil, false ) triggerClientEvent (player, "failPlayerLeave5", player) end end end
    1 point
  19. I don't think I provided bad example I just showed him how to I don't need to pm you simple ..
    0 points
×
×
  • Create New...