Jump to content

Leaderboard

Popular Content

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

  1. Note: Please don't create any topics in this section that are not advertising an hosting company/service. Only representatives or providers of said company or service are permitted to post. Regulations for the "Hosting solutions" section In order to make sure the hosting services advertised within this section meet the expectations of our userbase, we would like to introduce regulations to guarantee the relevance of ads to our typical audience. We have noticed that a lot of general hosting services, which are not necessarily aimed at MTA-related services, are being posted by commercial parties from around the globe considering it an easy, generic advertisement channel. To deter this, we will from now on require you to specify in your topic what exactly makes you a suitable hoster for MTA servers or related services that MTA server owners may find interesting. Our forums are not a general webmaster/hosting community, so you must link each service to some sort of usability for MTA. This means for example, that MTA server hosting is to be served by VPS or dedicated servers, for which you should motivate what makes you a suitable gameserver hoster as company/datacenter, instead of just copying a scheme or template from your business' usual offerings. If you are a business and decide to post here, then you should be aware that hosting services/plans your company is offering are able to meet the typical requirements of gameserver hosting. Likewise, webhosting services are most often marketed for general purposes and are the most common type of service. We do not want to see generalized offers for these that encourage readers to use it for general purpose or their personal websites (like if we were a webmaster forum), but we require you to set apart the usage of these plans by for example aiming such services directly on the upkeep of MTA server communities/their forums. It's not allowed to post advertisement topics just offering webhosting, as the bigger picture must profile you as a company that focuses merely on MTA server hosting or closely related services, with possibly additional MTA-aimed webhosting. A. Posting guidelines: Your topic must consist of at least 3 parts, including: 1) an introduction of yourself/the company you represent, describing what attracts you to MTA hosting, and what distinguishes you in the gameserver hosting field 2) a proper plans and pricing scheme in the topic itself (or alternatively a link to its source) and advice for/information on the suitability for each plan for what purpose 3) an indication whether your servers are professionally hosted (like in a datacenter/reselled) or if you are just hosting them yourself and are not a company If you represent a company, you should also mention the chamber of trade or business registration number (or similar, based on your respective country's laws) and this should be reflected accurately on the website listed. To reduce the risk of scams/improper portrayal of a (perhaps well-established) business you are not really an employee of, you are also not allowed to request or encourage potential customers to make the service payments outside of the appropriately mentioned official company website or ordering channel (like requesting payment by forum PM while you listed a website to offer your hosting packages through). This guideline is only applicable if you did in fact add an alleged official website to the advertisement topic or if you're actively marketing yourself off as a company which usually has a known website where orders are managed through. B. Additional posting regulations: 1) Your post should be in English, or consist of multiple languages but with the English version at the beginning. 2) If you want to advertise hosting services in another language, then you should use the Other Languages boards; they often have their own subforum for hosting solutions. If they don't, you can post in the general or server section there, unless its moderators decide otherwise. Any non-english topics made in this section are subjected to a move or removal. The moderators of other language boards furthermore decide the lenghts they want to enforce this general policy as is this topic that you're reading, they can enforce it even despite the lack of a (translated) copy of it in their section or use it as a guideline to base their decisions off. We encourage moderators of other languages boards that receive regular hosting services ads to translate these regulations, adopt them, or set apart their own regulations. 3) You're not allowed to request full ('real') names or other sensitive personal data of anyone in the topic or through PM. If you're a company, you can do so on your own private platforms (such as customer account or entry, billing), just not in public within the topic. If you're not a company, then please don't request full name or any form of personal documents at all. We have seen too many incidences of dangerous use of privacy-sensitive information. Additionally, if you offer "free" server hosting and ignore this guideline and still request (extensive) personal details, and (contrary to the guideline for businesses) even if this happens on your own platform environment/site, your topic may get instantly deleted without warning or notification. Anyone with knownledge of this practise happening with free hosting should notify us with a report immediately. Besides that, offering "free" hosting requires you to either be a notable community member (not a new account, and have significant amount of posts and good reputation) or a company that has a reasonably explainable scheme behind it being "free" (as nothing is really free). Failure to meet requirements listed in this topic may lead to a removal of the offer topic from our forums, or notification with a given timeframe to correct it. If you happen to stumble upon offers that do not fullfill these requirements and haven't been noticed by a Moderator yet, then we'd appreciate your help by reporting the post using the report function. If you are browsing this forum section, then please proceed with caution when something appears to be too good to be true. For example, if someone is offering 'free' MTA server hosting, there is a wide array or risks to watch out for (and make thumb rules for). Examples: - Barely anything is really free, you may be surprised by hidden terms or intentions such as hosting providers being interested in stealing your gamemode scripts, or taking control of your server in an illicit fashion if it becomes popular enough. - Take caution providing your sensitive personal data. In the past, some free hosting providers were mainly interested in collection of private, sensitive information. To help protect you, we have recently implemented the anti-data collection policy that applies to providers of free hosting. Even in the case of paid hosting (or any other outlet), always consider the information you're giving out and the risk of identity theft/fraud. All we can do is advise and inform you to our best abilities, take caution and be careful, proceed on your own risk. We advise that you verify the business entity you're dealing with before contracting any kind of hosting provider.
    1 point
  2. السلام عليكم ورحمة الله وبركاتة في مشكلة في كود انشاء صورة ان الصورة تيجي مقلوبة 180 درجة يعني الراس تككون تحت local img = dxCreateTexture("trollface.png") addEventHandler("onClientRender", root, function() -- x,y,z, targetx,targety,targetz,texture,width,color image = dxDrawMaterialLine3D (0,0,3,0,0,5,img, 5, tocolor(255,255,255,255)) end) حاولت اعدلها عن طريق setElementRotation(image ,rotX,rotY,rotZ) لكن ما ظبطت ممكن احد يعلمني وش المشكلة ؟
    1 point
  3. في حل بسيط عندي لك تقدر تخش في برنامج photo viewer بالصورة حقتك وتقلبها وتحفظ وخلاص انحلت مشكلتك
    1 point
  4. setSoundSpeed وش اعلى سرعه اقدر احطها setSoundVolume وش اعلى صوت اقدر احطه ؟
    1 point
  5. اعلي صوت تقدر يكون 1 setSoundVolume(sound, 1) - لان الواحد يعني 100% ب
    1 point
  6. ! ما يحتاج تذكر اسمك القديم, بس قول تذكرون الشخص الي كان ياخذ يصور لنفسه بالحمام
    1 point
  7. مود حلو , بس موجود مودات كثيره نفس النوع والافكار حاول ضيف شي جديد
    1 point
  8. local result = mysql:singleQuery("SELECT COUNT(*) as cnt FROM vehicles WHERE VehicleOwnerAccountID=? AND Slot=1", getElementData(source, "Player:AccountID")) local count = result.cnt or result[1].cnt -- depending on whether singleQuery returns a list of rows or the first row, but this code should work for both situations (?) if count >= 1 then -- slot occupied else -- slot free end
    1 point
  9. لا والله م عندي خبرة ب الحياة الواقعية .
    1 point
  10. السلام عليكم الطلب الاول م فهمته . الثاني : https://community.multitheftauto.com/index.php?p=resources&s=details&id=69 وشكرا .
    1 point
  11. Hey, Thank you! I will try this out! The main reason why I decided to use the default MTA Gui in my Multigamemode is because of the editboxes. If this works good then I can change it so it will probably look much better!
    1 point
  12. Your anti-virus product 360 Total Security is (incorrectly) blocking an MTA component. Please disable 360 Total Security or make an exception for MTA
    1 point
  13. --#by #x1AhMeD,-09 function getElementsInMarker(marker, elementType) local elements = {} if marker and elementType then if isElement(marker) and getElementType(marker) == "marker" then for _,element in ipairs(getElementsByType(elementType)) do if isElementWithinMarker(element, marker) then table.insert(elements, element) end end end end return elements end طريقه الأستخدام : getElementsInMarker(yourMarker, elementType) yourMarker = الماركر الي تبي تجيب العناصر الي به elementType = (player, ped, vehicle, etc...) : نوع الألمنت , ممكن يكون كالتالي الفانكشن ترجع لك جدول فيه كل العناصر الي في الماركر الي من النوع الي محدده انت طبعا بعد ما قريت المووضوع سويه هيك : getElementsInMarker(yourMarker, "player")
    1 point
  14. There are some topics that you should read : 1) : 2) :
    1 point
  15. Take this has example which is working add this in any server side script folder or create a new folder ! local randomSpawnTable = { { 270.92654418945, -1986.3665771484, 797.52966308594 }, { 270.92654418945, -1986.3665771484, 797.52966308594 }, { 270.92654418945, -1986.3665771484, 797.52966308594 } } addEventHandler("onPlayerLogin",getRootElement(), function() spawnPlayer(source,unpack(randomSpawnTable[math.random(#randomSpawnTable)])) setCameraTarget(source,source) setElementModel(source, 312) giveWeapon(source,46) giveWeapon(source,9) giveWeapon(source,25,5000,true) giveWeapon(source,28,5000,true) giveWeapon(source,31,5000,true) giveWeapon(source,22,5000,true) end) Removed give weapon if you don't want and replace spawn xyz positions,remove element model & camera target also if you don't want ,this will spawn player after they login !!
    1 point
  16. شكرا على الإهداء المود شفته في سيرفر حرب عصابات مرةةةة حلوووو والله اظنه سيرفر سرك بس والله حلو بالتفوفيق .
    1 point
  17. "onResourceStart" "onPlayerJoin" "onPlayerChangeNick" getElementsByType --مع حدث التشغيل getPlayerName -- مع حدث التشغيل string.find getPlayerSerial kickPlayer
    1 point
  18. .t تقدر تسوي تحقق من الزر اذا كان ضغط زر
    1 point
  19. عادي، اذا تقصد ايديت مثلاً وتكتب فيه عدد الأشخاص اللي تبيهم يقدرون يدخلون الماركر، تقدر تستخدم الوظائف ذي : guiGetText -- تجيب الرقم اللي كتبته في الايديت tonumber -- تحول النص إلى رقم لأن الإيديت يعطيك نص وليس رقم getPlayersInMarker -- تتحقق من عدد اللاعبين هل هو يساوي العدد اللي في الإيديت triggerServerEvent, addEvent, addEventHandler -- عشان ترسل النص اللي في الإيديت من الكلينيت للسيرفر يبقى عليك يا انك ماتخلي الوظيفه تتنفذ أو أنك تنقل اللاعب بعد ماتتحقق من عدد اللاعبين داخل الماركر. شفت رد بموضوع ثاني عن هالشي، ما أعرف aPlayer السينتاكس حق ذي بالضبط، لكن عدل . root خلها أهلاً وسهلا (: .
    1 point
  20. There's a single animation for shooting with a certain weapon, so you can't get what you want. However, if you create a new animation in 3Ds MAX, where the ped jumps and add shooting animation to it, you can later use a new upcoming function "engineReplaceAnimation" to replace the shooting animation. When you shoot, it will play jump and shoot animation for you. engineReplaceAnimation function is going to be available in upcoming months. You can check engineReplaceAnimation right away if you download this MTA: Also, here's a list of animations that you can replace: https://wiki.multitheftauto.com/wiki/Animations
    1 point
  21. I don't think the task system allows you to do that, but I'm equally interested if someone knows of a way.
    1 point
  22. اللهم صل وسلم وبارك على محمد وعلى آله آجمعين
    1 point
  23. صلو علي الحبيب محمد صلي الله عليه وسلم
    1 point
  24. الله يسلمك ويبقيك والنور نورك، يعتمد على كودك، اذا بتسويه بالجداول بينحذف أو يختفي من عند اللي دخله فقط، واذا بدون جداول بيختفي عند الكل. وبخصوص كيف تتحقق من عدد اللاعبين داخل getPlayersInMarker الماركر تقدر تستفيد من وظيفة
    1 point
  25. تقصد يختفي أو تحذفه نهائياً؟ ع العموم اذا تبيه يختفي عند اللي دخل الماركر فقط سوي الماركر سيرفر ولازم تستخدم الجداول عشان ماينحذف عند كل اللاعبين*
    1 point
  26. Now your problem is solved by DGS. If you have DGS, then loadstring(exports.dgs:dgsImportFunction())() edit = dgsCreateEdit(0.3,0.4,0.2,0.05,"test",true) dgsSetProperty(edit,"bgcolor",tocolor(255,255,255,0))
    1 point
  27. addEvent("fadeCameraOnSpawn", true) addEventHandler("fadeCameraOnSpawn", getLocalPlayer(), function() start = getTickCount() end ) local bRespawn = nil function showRespawnButton(victimDropItem) showCursor(true) local width, height = 201,54 local scrWidth, scrHeight = guiGetScreenSize() local x = scrWidth/2 - (width/2) local y = scrHeight/1.1 - (height/2) bRespawn = guiCreateButton(x, y, width, height,"Respawn",false) guiSetEnabled ( bRespawn,false ) RespTime = setTimer ( guiSetEnabled,60*1000,1,bRespawn,true ) setLab = setTimer( function() if isTimer(RespTime) then remaining = getTimerDetails ( RespTime ) guiSetText(bRespawn," Respawn after : "..math.floor(remaining/1000).."") setTimer(setssaz,60000,1) else killTimer(setLab) end end,1000,62) guiSetFont(bRespawn,"sa-header") addEventHandler("onClientGUIClick", bRespawn, function () if bRespawn then destroyElement(bRespawn) destroyElement(timlab) bRespawn = nil timlab = nil showCursor(false) guiSetInputEnabled(false) end triggerServerEvent("es-system:acceptDeath", getLocalPlayer(), getLocalPlayer(), victimDropItem) showCursor(false) end, false) end function setssaz ( ) guiSetText(bRespawn,"Respawn") end addEvent("es-system:showRespawnButton", true) addEventHandler("es-system:showRespawnButton", getLocalPlayer(),showRespawnButton) function closeRespawnButton() if bRespawn then destroyElement(bRespawn) destroyElement(timlab) bRespawn = nil timlab = nil showCursor(false) guiSetInputEnabled(false) end end addEvent("es-system:closeRespawnButton", true) addEventHandler("es-system:closeRespawnButton", getLocalPlayer(),closeRespawnButton)
    1 point
  28. addEvent("fadeCameraOnSpawn", true) addEventHandler("fadeCameraOnSpawn", getLocalPlayer(), function() start = getTickCount() end ) local bRespawn = nil function showRespawnButton(victimDropItem) showCursor(true) local width, height = 201,54 local scrWidth, scrHeight = guiGetScreenSize() local x = scrWidth/2 - (width/2) local y = scrHeight/1.1 - (height/2) bRespawn = guiCreateButton(x, y, width, height,"Respawn",false) timlab = guiCreateLabel((scrWidth - 117) / 2, (scrHeight - 54) / 2, 117, 54, "Respawn after : 60", false) guiSetEnabled ( bRespawn,false ) RespTime = setTimer ( guiSetEnabled,60*1000,1,bRespawn,true ) setLab = setTimer( function() if isTimer(RespTime) then remaining = getTimerDetails ( RespTime ) guiSetText(timlab," Respawn after : "..math.floor(remaining/1000).."") else killTimer(setLab) end end,1000,62) guiSetFont(bRespawn,"sa-header") addEventHandler("onClientGUIClick", bRespawn, function () if bRespawn then destroyElement(bRespawn) destroyElement(timlab) bRespawn = nil timlab = nil showCursor(false) guiSetInputEnabled(false) end triggerServerEvent("es-system:acceptDeath", getLocalPlayer(), getLocalPlayer(), victimDropItem) showCursor(false) end, false) end addEvent("es-system:showRespawnButton", true) addEventHandler("es-system:showRespawnButton", getLocalPlayer(),showRespawnButton) function closeRespawnButton() if bRespawn then destroyElement(bRespawn) destroyElement(timlab) bRespawn = nil timlab = nil showCursor(false) guiSetInputEnabled(false) end end addEvent("es-system:closeRespawnButton", true) addEventHandler("es-system:closeRespawnButton", getLocalPlayer(),closeRespawnButton) جيت ولقيته سواها لك .. جرب كذا
    1 point
  29. اطرح لي اكواد الملف حق الواستد ملف حق لما اللاعب يموت .. وانا اعدل لك عليه واسوي لك الي تبيه . وأعطيه لك دون مقابل .
    1 point
  30. اريد مساعدها لما احد يسوي بارك في مكان معين يخصم فلوس منها لو سمحتوا
    1 point
  31. سلآم عليكم .. أول شيء , لازم تسوي ليبل Label ومكتوب عليه مثلاً تبقى للريسباون : 5 دقائق . وتسوي له guiSetVisible وبعدها , تسوي تايمر وتسوي guiSetText المهم , سويتهآ لك .. أتمنى إني أفدتك . ملاحظة : لازم تكون ب ملف كلنت addEvent("fadeCameraOnSpawn", true) addEventHandler("fadeCameraOnSpawn", getLocalPlayer(), function() start = getTickCount() end ) local bRespawn = nil function showRespawnButton(victimDropItem) showCursor(true) local width, height = 201,54 local scrWidth, scrHeight = guiGetScreenSize() local x = scrWidth/2 - (width/2) local y = scrHeight/1.1 - (height/2) bRespawn = guiCreateButton(x, y, width, height,"Respawn",false) guiSetEnabled ( bRespawn,false ) lRespawn = guiCreateLabel(screenW - 274 - 10, (screenH - 123) / 2, 274, 123, "تبقى للريسباون : 5 دقائق", false) guiLabelSetColor(lRespawn, 245, 214, 9) setTimer ( guiSetEnabled,300000,1,bRespawn,true ) guiSetFont(bRespawn,"sa-header") setTimer(awq,60000,1) addEventHandler("onClientGUIClick", bRespawn, function () if bRespawn then destroyElement(bRespawn) bRespawn = nil showCursor(false) guiSetInputEnabled(false) end triggerServerEvent("es-system:acceptDeath", getLocalPlayer(), getLocalPlayer(), victimDropItem) showCursor(false) end, false) end addEvent("es-system:showRespawnButton", true) addEventHandler("es-system:showRespawnButton", getLocalPlayer(),showRespawnButton) function awq ( ) guiSetText(lRespawn," تبقى للريسباون : 4 دقائق") setTimer(wq,60000,1) end function wq ( ) guiSetText(lRespawn,"تبقى للريسباون : 3 دقائق") setTimer(wqx,60000,1) end function wqx ( ) guiSetText(lRespawn,"تبقى للريسباون : دقيقتان") setTimer(wqxx,60000,1) end function wqxx ( ) guiSetText(lRespawn,"تبقى للريسباون : دقيقة واحدة") end function closeRespawnButton() if bRespawn then destroyElement(bRespawn) destroyElement(lRespawn) bRespawn = nil lRespawn = nil showCursor(false) guiSetInputEnabled(false) end end addEvent("es-system:closeRespawnButton", true) addEventHandler("es-system:closeRespawnButton", getLocalPlayer(),closeRespawnButton) بلتوفيق
    1 point
  32. Guy, where are you disappeared? i am waiting for this cool realism system
    0 points
×
×
  • Create New...