Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 14/05/17 in all areas

  1. Hello there! I'm a scripting beginner but luckily I'm more skilled in modelling and mapping. So I thought I'd show you a base I've been working on. Let me know what you think! -Noah
    2 points
  2. . no problem bas ba3d keda balash scam 3lya m4y ?
    2 points
  3. Good, Now Click On Advanced Then Click on Proceed to community.multitheftauto.com (unsafe) Or use this : http://213.239.211.214/
    2 points
  4. hey There i want resource inwhich i can type command in free roam and the vehicle won't be damaged even if i shot it with rhino this will help me insomething please if u have this resource post it here Thanks in advance
    1 point
  5. Hola! Hace un tiempo quería hacer un post planteando el estado actual en el que se encuentra el servidor que estoy desarrollando con un amigo, KFE, pero como veo han re-creado la sección español, aprovecho esto para que tengamos un lugar sobre el que hablar y discutir sobre los servidores Freeroam y como han cambiado con el pasar del tiempo. Para los que no les interese KFE, he dividido este post en 2 partes. En la primera escribo sobre el servidor, su estado, y como pensamos renovarlo para conseguir una comunidad recurrente. En la segunda parte, doy mi opinión sobre la dirección que los servidores libres estan tomando. Los invito a charlar sobre cualquiera de los dos temas en los comentarios! La idea de este post es que a todos los que les interesen este tipo de servidores tengan una oportunidad de hablar y opinar. Cabe destacar que este post va a ser largo, con mucho texto, y puede volverse tedioso de leer. Sobre KFE, por qué creemos que esta vacío, y como pensamos arreglarlo: Sobre la actual calidad de los servidores Freeroam, y los temas recurrentes que hay en ellos: Alguien dirá... ¿Por qué a alguien le entretendría dar vueltas sin ningún motivo en el mapa? Y yo te respondería que ni idea, pero que se me hace tan entretenido que me ha mantenido en MTA 6 años. Y también te diría que este tipo de servidores ha cambiado mucho, si. Últimamente veo MUCHOS, MUUUUCHOS servidores Freeroam, saturados con skins, renders de anime, recursos de la comunidad... Y no son cosas que esten mal, pero tampoco bien. Claramente, si estos servidores tienen gente jugando entonces significa que ponerle 50 skins a tu servidor es bueno!.... verdad? Con esto quiero decir que creo es un poco como los canales de televisión. No son lo mejor del mundo, pero son entretenidos y es lo que hay. El problema que veo con esto es que los servidores que se esfuerzan se ahogan (Y no, no estoy hablando por KFE, estamos contentos con KFE, aunque querramos hacer algo más), sobre todo en MTA, un juego multijugador no oficial, en el que de las pocas plataformas para promocionarte que tienes el foro, y con esto acabamos perdiendo un buen pedazo de programadores a los que les interesa específicamente hacer Freeroam's. (Vease DKR) Creo que los jugadores de Freeroam solo juegan Freeroam porque hay gente conectada. Entiendo perfectamente que a alguien le gusten los renders de anime en el panel, y los skins, pero no es un solo servidor con esto, SON CASI TODOS! Principalmente los servidores hispanohablantes. Por lo poco que he visto en TOMY'S han encontrado un balance algo ajustado, y han logrado conseguir una comunidad, pero con esto viene mi siguiente punto: Los dueños de los freeroams no les tienen cariño a sus propios servidores, o solo están hechos para ser el amo y señor de la tierra. He entrado a servidores que me han hecho sangrar los ojos, llenos de errores, mapeados mal hechos, y en algunas ocaciones he podido hablar con el staff y no le dan importancia, pero si que saben descargar recursos y skins de la comunidad cada 3 minutos. Se nota una gran falta de calidad y profesionalidad. Para acabar quiero agregar que todo esto es mi opinion personal como jugador, no como creador, y que los invito a comentar con vuestras opiniones! Si alguien se ha sentido ofendido o atacado, no era mi intención y te pido perdón. Saludos!
    1 point
  6. Well, Clippy is already present in our project: Sooo, anything's possible in this project haha
    1 point
  7. I indeed have to learn it myself. I will try to fix the remainder of the problem myself thanks for helping me @coNolel @*BeaT* and @Reval You've given me lots of motivation to move on and learn more, thanks!
    1 point
  8. hey again , sorry about the " late " answer , but not everything you wish comes real and quick , you should make codes and get experience trough out writing codes and the important thing in to know what are you writing, not taking from scratches , as i used to do tbh , so there is nothing to be afraid from , you are now making your experience better and better , so let's don't talk too much , as i said above , you can write a function checking from it the vehicle that you entered , and if it's the Hustler as you want , you add the Event Handler , else you remove the event handler , that's pretty much it !
    1 point
  9. can you post screenshot please ?
    1 point
  10. Awesome. It just needs a main page for these different files. Then someone with access to edit MTA wiki home page can add a link to it.
    1 point
  11. سوي سكل احسن شي واحسن من الاكاونت داتا اللي راح تسويه قاعدة بكلومين .. الكولمن الاول هو سريال اللاعب والثاني الحالة واذا دخل تتحقق لو مسجل بالقاعدة من قبل اذا مسجل تحط الحالة اون لاين اذا مو مسجل تسوي له انسيرت .. واذا خرج تحط الحالة اوف لاين بس .
    1 point
  12. Wiki says : Note: You cannot use "check", "list" or "test" as a command name.
    1 point
  13. addCommandHandler ( "remove", function ( ) local theVehicle = getPedOccupiedVehicle ( localPlayer ) if ( theVehicle ) then setVehicleComponentVisible(theVehicle, "bump_front_dummy" , false) end end ) .....
    1 point
  14. بسم الله الرحمن الرحيم , سلام عليكم ورحمة الله وبركاته , اقدم لكم وظيفة مفيدة , قد تظن انها موجودة , ولكن للأسف ليست موجودة بالويكي أو في الموضوع + اخبروني اذا وجدت في الموضوع getAccountAcls الوظيفة من اسمها تعرفها /: جلب قروبات الحساب قد تقول هناك وظيفة بالفعل واسمها getPlayerAcls = هذه تجلب قروبات اللاعب : ) -- مهم الوظيفة سيرفر سايد فقط | Server Side Only , لاعلينا Syntax : table getAccountAcls ( account accountName ) Required Arguments : accountName : the account name what you want get teble of acls , اسم الحساب المراد جلب جدول القروبات Code : function getAccountAcls(accountName) if type(accountName) ~= 'string' then error("Bad Argument 1@ 'not string' ") return end local Accacls = {} for i,v in ipairs(aclGroupList()) do if (isObjectInACLGroup( "user." ..accountName, v)) then local mygroup = aclGroupGetName(v) table.insert(Accacls, mygroup) end end return Accacls end Example : addCommandHandler ( "Acls",function ( p, cmd, accname ) local Acls = getAccountAcls( accname ) outputChatBox ( "The Account "..accname.." Following in Acl Groups"..tostring ( table.concat(Acls,",") ),p) end ) وسلام خير الختام
    1 point
  15. لالا نفس الكود االي انت ارسلته :_( يعني مافي شيء جديد :<
    1 point
  16. Replace addTracer with this : function addTracer( BUTTON, STATE ) if( BUTTON == "left" and STATE == "up" ) then outputChatBox( "guns fired" ) end end addEventHandler( "onClientClick", getRootElement(), addTracer )
    1 point
  17. u forget end at line 7 and line14 function disableFireForRustler ( theVehicle, seat ) if ( getElementModel ( theVehicle ) == 476 ) then toggleControl ( "vehicle_secondary_fire", false ) else toggleControl ( "vehicle_secondary_fire", true ) end end addEventHandler ( "onClientPlayerVehicleEnter", getLocalPlayer(), disableFireForRustler ) function addTracer (mouse1, press) if (press) then outputChatBox ("guns fired") end end addEventHandler("onClientKey", root, addTracer) try now
    1 point
  18. I visited it and I liked the design - the features were awesome and the staff helped me to start off! Good luck Infinity
    1 point
  19. جرب -- Client local aTable_ = { { aButton1_ , 23 }, { aButton2_ , 31 } --{ button name , weapon id } } addEventHandler ( "onClientGUIClick", resourceRoot, function ( ) for _ , v in ipairs ( aTable_ ) do if source == v[1] then triggerServerEvent ( 'GiveWeapon' , localPlayer , v[2] ) break end end end ) -- Server addEvent ( 'GiveWeapon', true ) addEventHandler ( 'GiveWeapon', root, function (ID) giveWeapon(source,ID,200) end )
    1 point
  20. والباتش +_+ كمثال fileRename('master.text','unKown/master.text') فهمت راح ينقل الملف داخل مجلد اسمه unkown
    1 point
  21. بسم ألله ألرحمن ألرحيم ألسلام عليكم ورحمه ألله وبركاته * كيفكم أنشاء ألله بخير * @شباب_أبي_كود_برمجه للمهمات حرب عصابات أبي أصنع مود كامل مهمات.! أطرد ألكود 1-كود مركر 2-كود ألساعه 3-كود ألفلوس_أكس بي 4-كود يعبي دم أذا فلل يعياي يسحب ألمبلغ 5-مود ألي يبقي في ألمهمه يجي سلاب ... 6-أول ما يموتون ألكل ألتيم ألفايز ينقله لموقع محدد 7-كود يعطي دم كل ما يقتل شخص...مود يبي توب ألآعب @@@@@@@@@@@@@@@@@@@ أتمناء ألمساعده وشكرآ
    1 point
  22. Es tal como dices, algunos se esfuerzan en hacer un freeroam mientras otros solo le añaden skins de anime, recursos de la comunidad, cualquier otra tontería y llegan a tener más jugadores(no siempre es el caso). La mayoría de la gente que juega esos servidores que solo tienen skins y recursos de la comunidad, es porque fue el primer server que jugaron. A mi me pasó esto cuando jugaba, estaba en un freeroam que no era muy divertido, y a pesar de eso, entraba todos los días(no entraba por el contenido del servidor, sino por la gente que conocía, siempre encontrábamos la manera de divertirnos).
    1 point
  23. Hi ,I do not walk, you know why? The script found it in the community but does not walk The first picture shows how the script is local w, h = guiGetScreenSize() local resx local resy function resY(value) if h <= 600 then resy = 600 elseif h <= 768 then resy = 768 elseif h <= 720 then resy = 720 elseif h <=900 then resy = 900 elseif h <=1000 then resy = 1000 else resy = 1080 end return (value/resy) * h end function resX(value) if w <= 800 then resx = 800 elseif w <= 1024 then resx = 1024 elseif w <= 1280 then resx = 1280 elseif w <=1400 then resx = 1400 elseif w <= 1650 then resx = 1650 else resx = 1920 end return (value/resx) * w end local MainX = (w/2-resX(190))/w local MainY = (h/2-resY(320))/h local progress = 0 local activo = false local ancho = 5 local timer local tiempo = 0 function _dxDrawRectangle(x,y,w,h,r,g,b,a) dxDrawRectangle(x,y,w,h,tocolor(r,g,b,80*a)) dxDrawRectangle(x+resY(2),y+resY(2),w-resY(4),h-resY(4),tocolor(r,g,b,170*a)) end function principal (thePlayer) local theVehicle = getPedOccupiedVehicle(thePlayer) if ( getElementModel ( theVehicle ) == 520 ) then setElementData(thePlayer,"on",true) addEventHandler("onClientRender",getRootElement(),start) end end addEventHandler ( "onClientVehicleEnter", getRootElement(), principal ) function salida (player) setElementData(player,"on",false) toggleControl ( "vehicle_secondary_fire", true ) removeEventHandler("onClientRender",getRootElement(),start) activo = false progress= 0 ancho = 0 tiempo = 0 end addEventHandler ( "onClientVehicleExit", getRootElement(), salida ) function start () if not getElementData(getLocalPlayer(),"on") then return end init() if activo then progress = progress+0.00010 ancho,tiempo = interpolateBetween(ancho,tiempo,0,299,100,0,progress,"Linear") end _dxDrawRectangle(MainX+resX(680),MainY+resY(850),resX(300),resY(40),0,0,0,180) _dxDrawRectangle(MainX+resX(681),MainY+resY(850),resX(ancho),resY(40),0,0,255,255) dxDrawImage(MainX+resX(620),MainY+resY(850),resX(40),resY(40),"img.png",0,0,0,tocolor(0,0,180,255)) dxDrawText("Misil:"..math.ceil(tiempo).."%",MainX+resX(775),MainY+resY(860),w,h,tocolor(255,255,255,255),1.5,"default-bold") end function active() toggleControl ( "vehicle_secondary_fire", true ) activo = false progress= 0 end function init() if not getElementData(getLocalPlayer(),"on") then return end local control = getControlState ("vehicle_secondary_fire") if control == true then toggleControl ( "vehicle_secondary_fire", false ) activo = true progress= 0 ancho = 0 tiempo = 0 if isTimer(timer) then killTimer(timer) end timer = setTimer(active,9000,1) else end end <meta> <script src = "script.lua" type="client" /> <file src="img.png" /> </meta> img
    1 point
  24. You're Banned From MTA for 5 days
    1 point
  25. addEventHandler( "onClientPlayerSpawn", root, function () outputChatBox( getPlayerName(source).." Has Spawned " ) end ) This is the script i want ask about something nothing will occur if i Repaced "End" with ")" like this and why the codes in this arrangement ? ) end addEventHandler( "onClientPlayerSpawn", root, function () outputChatBox( getPlayerName(source).." Has Spawned " ) ) end instead of this end ) addEventHandler( "onClientPlayerSpawn", root, function () outputChatBox( getPlayerName(source).." Has Spawned " ) end )
    1 point
  26. you didn't understand i mean why i cant close "(" first before closing the function " putting ( first then putting end in the second line "
    1 point
  27. I gotta say that song is awesome I get the following message exactly after I start the map from the admin panel: ERROR: [gamemodes]\[race]\race\race_server.lua:74: attempt to concatenate field 'modename' (a nil value) I tried other DD maps but still the same error happened. It has trouble getting the 'g_MapInfo.modename' as that's where the error happens (outputDebugString('Loaded race mode ' .. g_MapInfo.modename .. ' ' .. getResourceName(mapres))). I honestly thought that DD maps should work in the default race gamemode but seems like you have to modify something to get it fixed. I'm only a race guy (no DD, DM, etc...) so that's all from me, hope somebody can help you out. PS: I actually had a few DD maps before but they were specifically designed for the server whose gamemode I'm using (it's opensource).
    1 point
  28. sometimes you want to script , test the scripts while you are playing another server example i'm opening server i went to script when i try to test this script i've to close the server then open MTA local server i want suggest something new and it will help us adding new Local MTA Which you can open it and test / use your scripts while you are opening The Main MTA it will be useful let me discribe this will be like you opened 2 browsers #1 your main browser " fire fox " ( main MTA ) #2 your test browser internet explorer ( MTA local server ) and you can use them in the same time
    1 point
  29. hell yeah, after playing for a quite abit , reading rules seeing cool skins and mods it's such a honor meeting the guys who are playing in Enjoying this server so far.
    1 point
  30. Nope, only removeElementData. removeAccountData is just a useful function which sets the value of the data in a key to false, which is what pa3ck mentioned.
    1 point
  31. i had a good check on this server lately, the server looks awesome and fair with scripts. Great Job.
    1 point
  32. To start off with some good news: There is already a pretty detailed compile guide: https://wiki.multitheftauto.com/wiki/Compiling_MTASA Also, we started documenting some parts in the past: https://wiki.multitheftauto.com/wiki/Category:Classes_(Blue) https://wiki.multitheftauto.com/wiki/Coding_guidelines https://wiki.multitheftauto.com/wiki/Coding_info https://wiki.multitheftauto.com/wiki/Category:Development And now the bad news: The cost of documenting everything is too high compared to the resulting benefit. For most things, there are enough examples, i.e. when implementing a Lua function just string-search for an existing Lua function and copy&paste that code. This approach works fine for the most high-level code. In the lower-level modules (especially Game SA and Multiplayer SA) the explained approach doesn't work very well. But to be honest with you: We don't understand some parts of that code either due to its lack of documentation without reverse engineering it again. Documenting at least parts of that stuff is absolutely needed, but as it just works atm, our approach is to don't touch the running system. However, I could imagine documenting some "basic patterns" like "How to implement a Lua function" or general guides like "How to learn reverse engineering for MTA".
    1 point
  33. It odes not have a virus... Their security Certificate expired
    1 point
×
×
  • Create New...