Jump to content

Search the Community

Showing results for tags 'new'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Multi Theft Auto: San Andreas 1.x
    • Support for MTA:SA 1.x
    • User Guides
    • Open Source Contributors
    • Suggestions
    • Ban appeals
  • General MTA
    • News
    • Media
    • Site/Forum/Discord/Mantis/Wiki related
    • MTA Chat
    • Other languages
  • MTA Community
    • Scripting
    • Maps
    • Resources
    • Other Creations & GTA modding
    • Competitive gameplay
    • Servers
  • Other
    • General
    • Multi Theft Auto 0.5r2
    • Third party GTA mods
  • Archive
    • Archived Items
    • Trash

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


About Me


Member Title


Gang


Location


Occupation


Interests

  1. mta-add-models is a library/framework resource that I made: Its purpose is allowing you to add new peds(skins)/objects/vehicles to your server. All the new added models will be automatically synced with all players. Supports encrypted mod files using the NandoCrypt system. As of v2.0.0, files with attribute download="false" in meta.xml are supported, and newmodels will handle downloading them! The way to achieve this is by following the tutorial included in the project's documentation (see GitHub link below) The resource comes with test commands for you to experiment with the mods provided and see what's going on under the hood. You're meant to make your own implementations to use newmodels in your server's complex systems. GitHub Repo (Download): https://github.com/Fernando-A-Rocha/mta-add-models#readme (Documentation here) Community Page (Download): https://community.multitheftauto.com/index.php?p=resources&s=details&id=18598 (will try to update often) (NEW) Custom Map Editor: https://github.com/Fernando-A-Rocha/mta-add-models/blob/main/.github/docs/custom_editor/README.md For support/questions please access my main thread: https://forum.multitheftauto.com/topic/139644-rel-nandos-resources/ I hope you enjoy!
  2. Project Las Venturas Cześć chciałbym ci przedstawić serwer o nazwie ,,Project Las Venturas'', chcielibyśmy być serwerem godnym twojej uwagi, cała ekipa serwera tworzy serwer z pasji, mikropłatnośći będą jeśli dla nas koszt serwera będzie zadurzy będziemy starali się aby było ich jak najmniej nie możemy się pochwalić autorską paczką ponieważ serwer ma być w połowie autorski lub w 25% zobaczymy z czasem bardzo chcielibyśmy abyś wsparł nas twoją obecnością ponieważ motywuje to nas do dalszej pracy nad serwerem na dole krótkie informacje o serwerze: [ ] Miejsce rozgrywki -> Jak sama nazwa mówi będzie to Las Venturas. [ ] Zarobki -> Zarobki są średnie (w pracy dla początkujących okolice 1000PLN) [ ] Właściciele -> U nas właściciele i twórcy serwera są zawsze zwarci i gotowi pomóc ci lub odpowiedzieć na pytanie możesz się zlecić bezpośrednio do nich w razie pytania bądź pomocy. [ ] Serwer -> Będziemy starali się aby serwer był dopracowany oraz wolny od jakichkolwiek błędów . [ ] Prace -> Prac z początku nie planujemy za dużo, ponieważ będziemy chcieli aby były one w pełni autorskie lecz są to plany a plany lubią się sypać. [ ] Nowości -> Każda nowość będzie pod was graczy bo serwer jest tworzony z myślą o graczach. ** Mamy nadzieję że ta reklama choć trochę was zachęciła, prosimy o nie kopiowanie jej ponieważ została napisana przez właściciela( Pieski#2115) któremu zajęło wymyślenie tekstu oraz wyglądu emotek itd. Spis właścicieli w razie pytań: GroXi#1983 JacobeQ#1806 Pieski#2115 Discord: https://discord.gg/u8r2ynXXxD
  3. Matrix Gaming is a clan server founded by particularly skilled people in content creation and development. We offer you a completely new environment to have fun in, with limitless possibilities and constant improvement. We're players that always wanted to take the gaming experience in MTA:SA to the next level, and this server is proudly a project we dedicated a lot of time on to ensure you the best gameplay you'll ever experience. Our IP: mtasa://185.225.232.138:22003 (Click to beam inside your MTA:SA client) Our website: https://mxgaming.net Our discord server: https://discord.com/invite/ncJxqsY9Wz Our Freeroam gamemode is very diverse, it differs a lot from the usual freeroam where all you do is pretty much drive all day until you get bored. We offer you custom vehicles models made by our talented 3D Modeller (-mx-Wanted), models that even lower end computers can properly run. Not only that, but with our IVF 2.0 mod, you can use realistic vehicle features in-game, just like the original GTA:SA mod. In addition to that, thanks to -mx-Bolm, we also offer you a whole lot of character skins that you can use and have your fun with. Our Freeroam also contains multiple events that run after a specific interval of time, such as Car Treasure. This event challenges you to find a hidden vehicle through a hint, you'll have exactly 10 minutes to find it to win Money and XP. Besides all of this, you can customize your game however you like through our main panel (can be accessed by pressing F7). You'll find a bunch of settings ranging from QoL to Graphics that'll completely transform how your game behaves. We also care for laid-back and competitive players, we provide custom weapon models and sounds with completely REBALANCED properties and synchronized damage. Although, if you're not a big fan of Deathmatch, you can just toggle your PASSIVE MODE through our panel. You have the ability to customize your environment, your gameplay, edit your handlings, fly, hover and jump using your vehicles too! * Shooter: The classic Shooter experience, where you're given an Infernus and a jumping ability to eliminate all your enemies and be the last one standing to win. You can switch your vehicle, obtain nitro or a vehicle repair through the custom pickups in the game mode's maps. * DD: A fun Destruction Derby experience, where you push the players off the map towards the water or ram them until their vehicle explodes. The last one standing wins. Maps include nitro, repair and vehicle change pickups as well. * Domination: A game mode inspired from the Call of Duty game series, where two teams 'Alpha' and 'Bravo' compete against each other to capture the 3 flags: A, B and C. For each flag a team captures, they gain 1 point every 5 seconds. The team that reaches 200 points first, or has the most points by the end of the 10 minute match wins. * Team Deathmatch: In this game mode, two teams 'Grove' and 'Vagos' fight each other with enabled respawn inside the event. Each kill equals 1 point, headshots grant double points. The match's duration is 10 minutes. The team that has most points by the end of the match wins. * Heist: Our server offers a heist game mode that allows clans in-game to compete between each other to crack a vault's code to rob the goods inside and obtain a briefcase. The briefcase must be delivered to the delivery drop-off location using the special Heist bulletproof and damage tolerant Van. Our clan is very fond of dogfighting. Because of that, we decided to take the Dogfight experience to the next level by implementing new things. Our aircraft rockets are improved and are patterned through custom AI that allows a very engaging aircraft combat experience with high speeds and required accuracy. Where and how you aim actually matters. We were heavily inspired by how GTA V's aircraft work. Besides Hydra, we have also improved Hunter and Rustler by granting them additional features. For hunters: You can use advanced missiles to take down your enemy, in addition to the usual explosive cannon. For rustlers: the aircraft is now faster and generates less drag. And its explosive cannons are way more powerful now. All our combat aircraft are given a targeting vizor to help track enemies down. EXTRA FEATURES: * Clans: Allows you and your friends or other players to be part of one team. Customize your clan with any kind of tag, color and name you want. We have a special clan panel that allows you to view your clan logs, invite new players to your clan, be invited to a clan and list all the clan invitations you are the source or target of. Each clan has 3 ranks: Member, Leader, and Owner. Only one person can own a clan. * A custom rank/level system: Currently, the max Level is set to 35. You level up by gaining XP points through killing other players or winning events. * Responsive, modern and fluid GUI, for an amazing user experience. * A full-on game customization panel with plenty of settings and graphical modifications. * Responsive damage system: Weapons are rebalanced, and damage is properly synchronized. Damage is bodypart responsive, which means hitting a player on the leg would deal less damage to the target than hitting them on the torso or the head. * Car Treasure: Every 30 minutes, a car spawns in the Freeroam. Players have 10 minutes to find the car to win a good amount of XP and money. * Lotto: Your usual lotto feature, starts every 30 minutes and generates a random number. If the player purchases the ticket with the lucky number, they win a good sum of money. MORE TO COME SOON! THE SERVER IS HEAVILY OPTIMIZED SO THAT EVEN THE LOWEST END COMPUTERS USERS CAN ENJOY A MESMERIZING EXPERIENCE. We look forward to seeing you. -mx- Administration.
  4. Hi, today I show this model to you. This model changes the Come a Lot Hotel, by a mall with interior and business. My Discord: Andrewss2#2404, information here on Discord! Payment: Paypal. Images:
  5. Hello Guys , I'm ScoomaAli From Morocco , Today i want to show you my new project , FiveM Backup In Mta This is a screen from it
  6. I would like to ask if there is a way to make a second weapon, for example to have two M4s, but to shoot differently, e.g. to have a different one with a rate of fire and the other one to deal more hp. Is there a way to do something like this?
  7. 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.
  8. Lo siento por el Spam chicos. Pero... Me alegra anunciar al apertura de !!ESPAÑA RP!! ¿Tienes ganas de vivir la vida a tu gusto pero tu ordenador no llega a los recursos necesarios o simplemente te gusta mas la comunidad de GTA-SA? Únete ya a España RP. Un server de Roleplay con mapeos INCREIBLES y una buena comunidad de rol. Únete ya y empieza a rolear en la ciudad de Palomino. https://discord.gg/xvsskaa ;-; IP del servidor: mtasa://54.39.115.96:22023
  9. Taksi Scripti Mta -- MTA SA Script Reappersz -- İyi oyunlar. local workMarker = createMarker(-520.324, 2582.393, 52.414, "cylinder", 1.5, 252,0,255,50)--marker createBlipAttachedTo(workMarker, 12, 2, 255,0,0, 255, 0, 1000) --blip local rightWheeledCars = { [543] = true, -- arac [558] = true, -- arac [560] = true, -- arac [562] = true, -- arac [566] = true, -- arac [587] = true, -- arac } -- ========== PANEL ========== local scx1920, scy1080 = guiGetScreenSize() local scx1920, scy1080 = guiGetScreenSize() local GUI = { window = {}, label = {}, button = {}, } addEventHandler("onClientResourceStart", resourceRoot, function() -- BUTONLAR local screenW, screenH = guiGetScreenSize() GUI.window.start = guiCreateStaticImage((screenW - 1340)/0.5,(screenH - 768)/0.5,1250,900, "image/ui.png", false) GUI.button.startWork = guiCreateButton(680, 370, 275, 60, "İşe Başla", false, GUI.window.start) GUI.button.closeStart = guiCreateButton(680, 450, 275, 60, "İptal", false, GUI.window.start) -- BUTONLAR GUI.window.finish = guiCreateStaticImage((screenW - 1340)/0.5,(screenH - 768)/0.5,1250,900, "image/ui.png", false) GUI.button.finishWork = guiCreateButton(680, 370, 275, 60, "İşi Bitir", false, GUI.window.finish) GUI.button.closeFinish = guiCreateButton(680, 450, 275, 60, "İptal", false, GUI.window.finish) guiSetVisible(GUI.window.start, false) guiSetVisible(GUI.window.finish, false) end) --- Kanka şimdi bu scripti sparrow türkçe yapmış felan hani sitesine bakmak istersen bir çok TÜRKÇE script mevcut : https://sparrow-mta.blogspot.com addEventHandler("onClientMarkerHit", workMarker, function(player, matchingDimension) if (player == localPlayer) and (matchingDimension) then local vehicle = getPedOccupiedVehicle(localPlayer) if (not vehicle) or (getPedOccupiedVehicleSeat(localPlayer) == 0) then triggerServerEvent("openWorkWindow", resourceRoot) end end end) --[[ addEventHandler("onClientMarkerLeave", workMarker, function(player) if (player == localPlayer) then hideWorkGUI() end end) ]] local vehicleToUse = false addEvent("showStartWorkGUI", true) addEventHandler("showStartWorkGUI", resourceRoot, function(vehicle) if not isElementWithinMarker(localPlayer, workMarker) then return end if (vehicle) then if isResourceRunning("car_system") then guiSetText(GUI.label.vehicle, "Bu aracı kullana bilirsin ("..exports.car_system:getVehicleModName(vehicle)..").") else guiSetText(GUI.label.vehicle, "Bu araç taksi.") end else guiSetText(GUI.label.vehicle, "Kendi aracınız yok ise kiralık bir araç temin edilecek.") end vehicleToUse = vehicle guiSetVisible(GUI.window.start, true) showCursor(true) end) addEvent("showFinishWorkGUI",true) addEventHandler("showFinishWorkGUI", resourceRoot, function(money) if not isElementWithinMarker(localPlayer, workMarker) then return end guiSetText(GUI.label.finishText, "\n\n\n\nTaksi şöförlüğü işini bitirmeden önce, bu parayı ödemelisin "..tostring(money).." $.") guiSetVisible(GUI.window.finish, true) showCursor(true) end) addEventHandler("onClientGUIClick", resourceRoot, function() if (source == GUI.button.closeStart) or (source == GUI.button.closeFinish) then hideWorkGUI() elseif (source == GUI.button.startWork) then if (getElementDimension(localPlayer) ~= 0) or (getElementInterior(localPlayer) ~= 0) then return end if isResourceRunning("car_driving_school") and (not exports.car_driving_school:doesPlayerHaveLic(localPlayer, "car")) then exports.car_driving_school:outputNoLicenseClient("car") return end triggerServerEvent("startTaxiJob", resourceRoot, vehicleToUse) hideWorkGUI() elseif (source == GUI.button.finishWork) then triggerServerEvent("finishTaxiJob", resourceRoot) hideWorkGUI() end end) function hideWorkGUI() guiSetVisible(GUI.window.start, false) guiSetVisible(GUI.window.finish, false) showCursor(false) vehicleToUse = false end -- ========== Получение нового заказа и создание маркеров ========== addEventHandler("onClientPedDamage", resourceRoot, cancelEvent) local currentPed, currentPoint local sourceMarker, rotateMarker, jobBlip, destinationMarker addEvent("createSourceMarker", true) addEventHandler("createSourceMarker", resourceRoot, function(point, ped) removePedPickupElements() currentPoint = point currentPed = ped sourceMarker = createMarker(point[1], point[2], point[3], "cylinder", 2, 100,100,0,200) rotateMarker = createMarker(point[4], point[5], point[6], "cylinder", 30, 0,0,0,0) jobBlip = createBlipAttachedTo(sourceMarker, 56, 2, 255, 0, 0, 255, 32767, 65535) outputTaxiMessage("Yeni müşteri haritada sarı nokta ile gösterilir.") end) function removePedPickupElements() currentPed = false currentPoint = false if isElement(sourceMarker) then destroyElement(sourceMarker) end if isElement(rotateMarker) then destroyElement(rotateMarker) end if isElement(jobBlip) then destroyElement(jobBlip) end sourceMarker = false rotateMarker = false jobBlip = false end -- ========== Обновление поворота педа при подъезде машины ========== addEventHandler("onClientMarkerHit", resourceRoot, function(player, matchingDimension) if (player == localPlayer) and (source == rotateMarker) and (matchingDimension) then addEventHandlerNoWarnings("onClientRender", root, updatePedRotation) end end) addEventHandler("onClientMarkerLeave", resourceRoot, function(player, matchingDimension) if (player == localPlayer) and (source == rotateMarker) and (matchingDimension) then removeEventHandlerNoWarnings("onClientRender", root, updatePedRotation) end end) function updatePedRotation() if not isElement(currentPed) then removeEventHandlerNoWarnings("onClientRender", root, updatePedRotation) end local vehicle = getPedOccupiedVehicle(localPlayer) if (not vehicle) then return end local pedX, pedY, _ = getElementPosition(currentPed) local carX, carY, _ = getElementPosition(vehicle) setElementRotation(currentPed, 0, 0, getRotationFromVec2D(carX-pedX, carY-pedY), "default", true) end -- ========== Ожидание остановки машины при заезде на маркер ========== local pickupStopTimer, dropStopTimer addEventHandler("onClientMarkerHit", resourceRoot, function(player, matchingDimension) if (player == localPlayer) and (matchingDimension) and (source==sourceMarker or source==destinationMarker) then local _, _, mZ = getElementPosition(source) local _, _, pZ = getElementPosition(localPlayer) if (pZ-mZ < 5) and (pZ-mZ > -1) then if (source == sourceMarker) then if isTimer(pickupStopTimer) then killTimer(pickupStopTimer) end pickupStopTimer = setTimer(waitingForPickupStop, 100, 1) else if isTimer(dropStopTimer) then killTimer(dropStopTimer) end dropStopTimer = setTimer(waitingForDropStop, 100, 1) end end end end) addEventHandler("onClientMarkerLeave", resourceRoot, function(player, matchingDimension) if (player == localPlayer) and (matchingDimension) and (source==sourceMarker or source==destinationMarker) then if isTimer(pickupStopTimer) then killTimer(pickupStopTimer) end if isTimer(dropStopTimer) then killTimer(dropStopTimer) end if getPedOccupiedVehicle(localPlayer) then outputTaxiMessage("Aracı bölgede durdur.") end end end) function waitingForPickupStop() local vehicle = getPedOccupiedVehicle(localPlayer) if (not vehicle) then return end local spX, spY, spZ = getElementVelocity(vehicle) local speed = math.floor(math.sqrt(spX^2 + spY^2 + spZ^2)*180) if (speed < 5) then antiDOSsend("pedPickup", 1000, "startPedPickup", resourceRoot) else pickupStopTimer = setTimer(waitingForPickupStop, 100, 1) end end -- ========== Подход педа к машине и посадка ========== local pos = { [0] = {name = "door_lf_dummy"}, [1] = {name = "door_rf_dummy"}, [2] = {name = "door_lr_dummy"}, [3] = {name = "door_rr_dummy"}, } local animVehicle, animPed, animSeat local doorTimer, resettingDoorTimer addEvent("putPedInVehicle",true) addEventHandler("putPedInVehicle", resourceRoot, function(vehicle, ped) if not isElement(vehicle) or not isElement(ped) then return end removeEventHandlerNoWarnings("onClientRender", root, updatePedRotation) removePedPickupElements() local pedX, pedY, _ = getElementPosition(ped) animVehicle, animPed = vehicle, ped for i = 0, #pos do local offX, offY = getDoorOffset(i, getElementRotation(vehicle)) pos.x, pos.y, pos.z = getVehicleComponentPosition(vehicle, pos.name, "world") if (pos.x) then pos.x = pos.x + offX pos.y = pos.y + offY end end if pos[3].x and (getVehicleMaxPassengers(vehicle) > 1) then if getDistanceBetweenPoints2D(pedX, pedY, pos[3].x, pos[3].y) < getDistanceBetweenPoints2D(pedX, pedY, pos[2].x, pos[2].y) then animSeat = 3 else animSeat = 2 end else if (rightWheeledCars[getElementModel(vehicle)]) then animSeat = 0 else animSeat = 1 end end setPedAnalogControlState(ped, "forwards", 0.5) if isTimer(doorTimer) then killTimer(doorTimer) end doorTimer = setTimer(waitForDoor, 100, 1) if isTimer(resettingDoorTimer) then killTimer(resettingDoorTimer) end resettingDoorTimer = setTimer(resetWaitForDoor, 10000, 1) end) function waitForDoor() local pedX, pedY, pedZ = getElementPosition(animPed) local offX, offY = getDoorOffset(animSeat, getElementRotation(animVehicle)) pos[animSeat].x, pos[animSeat].y, _ = getVehicleComponentPosition(animVehicle, pos[animSeat].name, "world") pos[animSeat].x = pos[animSeat].x + offX pos[animSeat].y = pos[animSeat].y + offY if (getDistanceBetweenPoints2D(pos[animSeat].x, pos[animSeat].y, pedX, pedY) > 0.5) then setElementRotation(animPed, 0, 0, getRotationFromVec2D(pos[animSeat].x-pedX, pos[animSeat].y-pedY), "default", true) doorTimer = setTimer(waitForDoor, 100, 1) else if isTimer(resettingDoorTimer) then killTimer(resettingDoorTimer) end setPedAnalogControlState(animPed, "forwards", 0) attachAndAnimate1() end end function resetWaitForDoor() if isTimer(doorTimer) then killTimer(doorTimer) end setPedAnalogControlState(animPed, "forwards", 0) attachAndAnimate1() end local animPedZShift function attachAndAnimate1() local vehRotX, vehRotY, vehRotZ = getElementRotation(animVehicle, "default") local offX, offY = getDoorOffset(animSeat) local _, _, worldZ = getVehicleComponentPosition(animVehicle, pos[animSeat].name, "world") local _, _, pedZ = getElementPosition(animPed) animPedZShift = pedZ - worldZ pos[animSeat].x, pos[animSeat].y, pos[animSeat].z = getVehicleComponentPosition(animVehicle, pos[animSeat].name, "root") pos[animSeat].x = pos[animSeat].x + offX pos[animSeat].y = pos[animSeat].y + offY pos[animSeat].z = pos[animSeat].z + animPedZShift setElementCollidableWith(animPed, animVehicle, false) attachElements(animPed, animVehicle, pos[animSeat].x, pos[animSeat].y, pos[animSeat].z, vehRotX, vehRotY, vehRotZ) setElementRotation(animPed, vehRotX, vehRotY, vehRotZ) local animation = (animSeat%2 == 1) and "CAR_open_RHS" or "CAR_open_LHS" setPedAnimation(animPed, "ped", animation, -1, false, false, false, true) setTimer(function(v,s) setVehicleDoorOpenRatio(v, s, 1, 300) end, 500, 1, animVehicle, animSeat+2) setTimer(animate2, 1000, 1) end function animate2() local animation = (animSeat%2 == 1) and "CAR_getin_RHS" or "CAR_getin_LHS" setPedAnimation(animPed, "ped", animation, -1, false, false, false, true) setTimer(animate3, 1000, 1) end function animate3() local animation = (animSeat%2 == 1) and "CAR_closedoor_RHS" or "CAR_closedoor_LHS" setPedAnimation(animPed, "ped", animation, -1, false, false, false, true) setTimer(function(v,s) setVehicleDoorOpenRatio(v, s, 0, 200) end, 300, 1, animVehicle, animSeat+2) setTimer(function(event, rootElement, vehicle, seat) triggerServerEvent(event, rootElement, vehicle, seat) end, 500, 1, "pedPutIntoVehicle", resourceRoot, animVehicle, animSeat) end -- ========== Создание точки назначения ========== addEvent("createDestinationMarker", true) addEventHandler("createDestinationMarker", resourceRoot, function(point) removePedDropElements() currentPoint = point destinationMarker = createMarker(point[1], point[2], point[3], "cylinder", 2, 100,100,0,200) jobBlip = createBlipAttachedTo(destinationMarker, 56, 2, 255, 0, 0, 255, 32767, 65535) end) function removePedDropElements() currentPoint = false if isElement(destinationMarker) then destroyElement(destinationMarker) end if isElement(jobBlip) then destroyElement(jobBlip) end destinationMarker = false jobBlip = false end -- ========== Ожидание остановки машины при заезде на маркер окончания ========== function waitingForDropStop() local vehicle = getPedOccupiedVehicle(localPlayer) if (not vehicle) then return end local spX, spY, spZ = getElementVelocity(vehicle) local speed = math.floor(math.sqrt(spX^2 + spY^2 + spZ^2)*180) if (speed < 5) then antiDOSsend("pedDrop", 1000, "startPedDrop", resourceRoot) else dropStopTimer = setTimer(waitingForDropStop, 100, 1) end end -- ========== Выход педа из машины и исчезновение ========== addEvent("extractPedFromVehicle",true) addEventHandler("extractPedFromVehicle", resourceRoot, function(vehicle, ped, seat) removePedDropElements() if (seat == 1) and (rightWheeledCars[getElementModel(vehicle)]) then seat = 0 end animVehicle, animPed, animSeat = vehicle, ped, seat local vehRotX, vehRotY, vehRotZ = getElementRotation(vehicle, "default") local offX, offY = getDoorOffset(seat) pos[seat].x, pos[seat].y, pos[seat].z = getVehicleComponentPosition(vehicle, pos[seat].name, "root") pos[seat].x = pos[seat].x + offX pos[seat].y = pos[seat].y + offY pos[seat].z = pos[seat].z + animPedZShift setElementCollidableWith(ped, vehicle, false) attachElements(ped, vehicle, pos[seat].x, pos[seat].y, pos[seat].z-10, vehRotX, vehRotY, vehRotZ) setElementRotation(ped, vehRotX, vehRotY, vehRotZ) local animation = (seat%2 == 1) and "CAR_getout_RHS" or "CAR_getout_LHS" setPedAnimation(ped, "ped", animation, -1, false, false, false, true) setTimer(function(v,s) setVehicleDoorOpenRatio(v, s, 1, 300) end, 150, 1, vehicle, seat+2) setTimer(function(p, v, x, y, z, rX, rY, rZ) attachElements(p, v, x, y, z, rX, rY, rZ) end, 200, 1, ped, vehicle, pos[seat].x, pos[seat].y, pos[seat].z, vehRotX, vehRotY, vehRotZ) setTimer(closeDoor, 900, 1) end) function closeDoor() local animation = (animSeat%2 == 1) and "CAR_close_RHS" or "CAR_close_LHS" setPedAnimation(animPed, "ped", animation, -1, false, false, false, true) setTimer(function(v,s) setVehicleDoorOpenRatio(v, s, 0, 300 ) end, 150, 1, animVehicle, animSeat+2) setTimer(startWalkOut, 900, 1) end local pedAlpha function startWalkOut() local _, _, vehRotZ = getElementRotation(animVehicle, "default") detachElements(animPed) setPedAnimation(animPed) setElementCollidableWith(animPed, animVehicle, true) setPedAnalogControlState(animPed, "forwards", 0.5) setElementRotation(animPed, 0, 0, (animSeat%2 == 1) and (vehRotZ-90) or (vehRotZ+90), "default", true) pedAlpha = 255 addEventHandler("onClientRender", root, vanishPed) triggerServerEvent("pedDropped", resourceRoot, animVehicle) end function vanishPed() pedAlpha = pedAlpha-1 if isElement(animPed) then setElementAlpha(animPed, pedAlpha) end if (pedAlpha == 0) or (not isElement(animPed)) then removeEventHandler("onClientRender", root, vanishPed) triggerServerEvent("killVanishedPed", resourceRoot) end end -- ========== Очистка всей инфы о работе ========== addEvent("deleteAllObjects", true) addEventHandler("deleteAllObjects", resourceRoot, function() currentPed = false currentPoint = false if isElement(sourceMarker) then destroyElement(sourceMarker) end if isElement(rotateMarker) then destroyElement(rotateMarker) end if isElement(jobBlip) then destroyElement(jobBlip) end if isElement(destinationMarker) then destroyElement(destinationMarker) end if isTimer(pickupStopTimer) then killTimer(pickupStopTimer) end if isTimer(dropStopTimer) then killTimer(dropStopTimer) end animVehicle = false animPed = false animSeat = false if isTimer(doorTimer) then killTimer(doorTimer) end if isTimer(resettingDoorTimer) then killTimer(resettingDoorTimer) end end) -- ========== Мелкие вспомогательные функции ========== -- Получить смещение педа относительно дверной петли function getDoorOffset(seat, _, _, rotZ) local Xshift, Yshift = 0.5, -1.25 if (tonumber(seat)%2 == 0) then Xshift = -Xshift end if (rotZ) then rotZ = math.rad(rotZ) return Xshift*math.cos(rotZ)-Yshift*math.sin(rotZ), Xshift*math.sin(rotZ)+Yshift*math.cos(rotZ) else return Xshift, Yshift end end -- Получить угол наклона вектора function getRotationFromVec2D(x, y) local a = math.deg(math.acos(y/((x^2+y^2)^0.5))) return (x < 0) and (a) or (-a) end -- Сообщения от имени такси function outputTaxiMessage(text) outputChatBox("[TAKSİ] #FFFFFF"..text, 227, 173, 0, true) end -- Убирание ошибки при добавлении/убирании эвента function addEventHandlerNoWarnings(eventName, element, func) for _, attachedFunc in ipairs(getEventHandlers(eventName, element)) do if (attachedFunc == func) then return end end addEventHandler(eventName, element, func) end function removeEventHandlerNoWarnings(eventName, element, func) for _, attachedFunc in ipairs(getEventHandlers(eventName, element)) do if (attachedFunc == func) then removeEventHandler(eventName, element, func) end end end -- Проверка, что ресурс запущен function isResourceRunning(resName) local res = getResourceFromName(resName) return (res) and (getResourceState(res) == "running") end -- ========== Слоумод на кнопку/действие ========== local sendData = {} local sendTimers = {} function antiDOSsend(actionGroup, pause, ...) local args = {...} if isTimer(sendTimers[actionGroup]) then sendData[actionGroup] = args[1] and args else if (args[1]) then triggerServerEvent(...) sendData[actionGroup] = false sendTimers[actionGroup] = setTimer(slowSend, pause, 1, actionGroup) end end end function slowSend(actionGroup) if (sendData[actionGroup]) then triggerServerEvent(unpack(sendData[actionGroup])) sendData[actionGroup] = nil end end --[[ addEventHandler("onClientPreRender",root, function () if animPed and isElement(animPed) then local block, animation = getPedAnimation(animPed) dxDrawText ( "CURRENT ANIMATION INFO...", 500, 300 ) if not block then block = "N/A" end if not animation then animation = "N/A" end dxDrawText ( "Block = "..block.." Animation = "..animation, 500, 315 ) end end ) ]] --[[ addEventHandler ( "onClientRender", root, function() if isPedInVehicle ( localPlayer ) and getPedOccupiedVehicle ( localPlayer ) then local veh = getPedOccupiedVehicle ( localPlayer ) for v in pairs ( getVehicleComponents(veh) ) do local x,y,z = getVehicleComponentPosition ( veh, v, "world" ) if x then local wx,wy,wz = getScreenFromWorldPosition ( x, y, z ) if wx and wy then dxDrawText ( v, wx -1, wy -1, 0 -1, 0 -1, tocolor(0,0,0), 1, "default-bold" ) dxDrawText ( v, wx +1, wy -1, 0 +1, 0 -1, tocolor(0,0,0), 1, "default-bold" ) dxDrawText ( v, wx -1, wy +1, 0 -1, 0 +1, tocolor(0,0,0), 1, "default-bold" ) dxDrawText ( v, wx +1, wy +1, 0 +1, 0 +1, tocolor(0,0,0), 1, "default-bold" ) dxDrawText ( v, wx, wy, 0, 0, tocolor(0,255,255), 1, "default-bold" ) end end end end end) ]]
  10. Hi guys so I'm new to the community and as well as coding, but I'm learning it by myself right now. So I watched this video from this guy and I followed everything in the video. He gave a little assignment at the end of an episode 2 video before, to set "vehicle rotation". I did everything and tried to run my server, I was getting a warning and error. By the way there's a github link in the video to see his "commits" and stuff. Here's the screenshot Regarding to the screenshot of me launching the server, I've done some research about the meaning those words in the warning & the error, Vector3 means for 3d games, about directions and stuff (X, Y, Z) and for boolean it means "True or False" but I'm not sure what they have to do with it. if anyone knows what I'm doing here is wrong please let me know it would be much of appreciation.
  11. السلام عليكم ورحمة الله وبركاته كيفكم ؟ ان شاء الله طيبين .. سويت مود حق جلب معلومات اللاعب عن طريق :- 1- اسمه 2- اسم حسابه 3- سيرياله 4- الاي بي اذا مثلا انت متذكر اسم حسابه وما متذكر اسمه تكتب اسم حسابه وهو بيجيب لك باقي المعلومات , اسمه وسيرياله الخ.. ء لفتح اللوحة عن طريق الامر : استعلام , تكتبه في اف8 الصور بتحصلونها بالرابط المود مشفر لحفظ الحقوق + اللوحة تفتح للي معه كونسول ومعلومات اللاعب تنحفظ يوم يسجل دخوله لحسابه الرابط رأيكم يهمني ..
  12. السلام عليكم ورحمة الله وبرككاتهه ء سويت سكربت اسل بشكل جديد وبخواص جديدة غير الأسل الاعتيادي الى أكثر السيرفرات تستعمله تقريباً نشوف وش هي خواص الأسل الجديد.. 1- رتب محددة مسموح بها وليس كل الرتب الى فى السيرفر لعدم التحكم الكامل ( C_Setting.Lua يمديك تعدل علي الرتب الى تبيها تظهر فى الاسل من خلال ملف ) - طبعا اكثر الناس يوم تعطيهم اسل يكون فيه كل الرتب احتمال كبير يسحبوا رتب مهمة من كونسيل اثناء عدم وجود حماية - 2- يظهر لك كل رتب الشخص المحدد عليه من القائمة 3- لوق خاص بالأسل , اثناء تواجدك فقط , يعني يوم تخرج يتمسح ويمديك تمسحه من زر مسح بس لازم تكون كونسيل 4- حماية من التكرار , قفل زر اعطاء وسحب رتبة بعد الضغط عليه لمدة مؤقته 5- شكل حلو للكتابة اثناء اعطاء او سحب رتب من شخص معين , اكتشفوها بنفسككم ء اللوحة تفتح للي معه قروب "ACL" تفتح عبر كتابة كلمة "acl" فى اف8 اللوق يفتح عبر كتابة كلمة "لوق" فى اف8 لازم تحط السكربت بقروب الادمن للعمل بشكل صحيح # طبعاً سويت السكربت لإني شايف اكثر السيرفرات تستعمل سكربت واحد حق اسل مافي تغييرات فى الاسل وكمان يظهر للي رح تعطيه اسل كل الرتب الى بالسيرفر وذي مشكلة رابط التحميل والصور https://community.multitheftauto.com/index.php?p=resources&s=details&id=16091 تقييمك للسكربت ورأيك يهمني .
  13. السلام عليكم ورحمة الله وبركاته CIT اليوم حبيت اقدم لكم سيرفر هل رأيت هذا السيرفر في قائمة السيرفرات كـ افضل سيرفر من حيث الاعبين؟ هل حاولت الدخول لكنك فقدت الامل بعد محاولات كثيرة للتسجيل بسبب عدم معرفتك للغة الانجليزية؟ او قد تركت العبة بعد فترة قصيرة من لعبها لانك لم تفهم لها بسبب لغتك الانجليزية الضعيفة؟ !!!!!!!!!! الحل هنا تم بحمد الله ترجمة السيرفر الى 15 لغة مختلفة ونحن مازلنا نحاول اضافة المزيد من اللغات الشائعة بين الاعبين "Romanian, Hungarian, Chinese, Croatian, Polish, Turkish, Dutch, Russian, French, German, Slovenian, Brazilian, Arabic, Italian, Spanish" هذه هي اللغات المتوفرة حاليا بالعبة والمترجمة بصورة كاملة ، كل ماتحتاجه هو ان تقوم بتحويل اعدادات لعبتك من اللغة الانجليزية الى اللغة العربية والدخول للسيرفر والاستمتاع بمميزاته الفريدة :هذه بعض الصور لتثبت صحة كلامي هذه فقط نبذة قصيرة عن مميزات السيرفر الرائعة بالاضافة الى توفر دعم 24 ساعة يوميا من مشرفين عرب ومساعدين عرب ، ووجود صندوق محادثة خاص بالعرب يمكنك الكلام فيه بعد التسجيل بواسطة الكتابة '/ar text' 'J' ثم 'Arabic' او باختيار عند تسجيلك حسابك لاول مرة توقع مترجم عربي ينتقل اليك ليساعدك في مسيرتك باللعبة !واذا لم يأتي يمكنك طلب شخص من المحادثة العربية !بالنهاية اتمنى اني ما اطلت عليكم وان شاء الله يعجبكم السيرفر ، بالتوفيق للجميع CIT Cops 'n' Robbers, Gang Wars, Civilians | cit2.net :اسم السيرفر الكامل mtasa://94.23.158.180:22003 :اي بي السيرفرعدد الاعبين الحالي: 586/2000 اكثر عدد تواجد باللعبة: 1015
  14. I recently dove into this simple thing called "scripting and building a server". Naturally —added to my already curious personality—, I always come up with a doubt, a question, or any sort of uncertainty. After a week of messing around with it, I noticed that 5 of the 10 last posts made in the Script section were from me. I was having so much fun —truthfully— that I just kept on finding new things to ask. I'm pretty sure they are common questions. I'm not asking to have a script from scratch, or to be taught absolutely everything. It is most commonly about errors and to help myself understand the colloquial language of the scripts. However, I can't help but think that maybe it's not the best approach. I always think to myself "try to find it on your own", but I frenquently find myself getting even more confused the more I tour into each command and function. Is there a certain tacit limit as to how many questions can be asked? Is there any way to get the necessary help without flooding the sections?
  15. New Life RPG Co Oferujemy ? Dużą Ilość Prac Premium Ciekawe Podmianki Rózne Miejsca Rozrywki Miłą I Pomocną Administracje Miłych Graczy Fajne Nowoczesne Rozwiązania Duzy Wybór Pojazdów Do Kupienia Frakcje : Sapd - Policja Samc - Pogotowie PSP - Straz pożarna SMSA - Straz Miejska ---------------------------------------------------------------------------------------------------------------------------------------------------------------- Ip Serwera : NewLife.mtasa.eu:20804 Discord Serwera : https://discord.gg/TVPxvpm
  16. MTA Script :Damage Log v 1.0.0 Roleplay SQL Add DLog.sql in localhost/phpmyadmin add Clear Table Link In Desciption Video اسف على الجودة اهداء لكل المنتدى
  17. My name is Blade. Former owner of Intense Gaming. After some time, I've decided I'd like to give MTA another shot. This time, I want to do it right though. With that being said, i am wanting to hire someone who is well experience is lua, as well as, php. I love my servers to run mysql so having experience in database is great. I am willing to pay for the work that is done. However. The scripter I hire, I'd like to keep as a full time scripter for my new community. Pay will be discussed upon acceptance of the position. I will supply a dev server where all work will be completed as well as any other overhead the scripter may need. The server must contain certain features implemented, as well as have a UCP/Forums link, and other item. This script must also be completed from scratch. Some implemented ideals are fine, but the majority must be custom. All credits will be reserved to the author. Please contact me for further information.
  18. السلام عليكم ورحمة الله وبركاتة اليوم معنا مود مسابقة اول من يكتب علي ساعات المود مب مرتبط بمود الساعات والمود يفتح لجروب الكونسول + تقدرتعدل علية من جوا المود ورفعتلكم مع المود مود ساعات والساعات فية لاتروح حتي لو سويت ريستارت رابط التحميل اسفل الفيديو
  19. The Water Wars "Sunrise" (Alpha 0.01) Hello! I, with my friend's, just launched a new mta server. It's simple DeathMatch server, but will try to make a unique gameplay experience for you [at an early date]. Here is some server information [added]: 1. 75% of map are flooded. 2. Minor mapping changes (a.i.). 3. Modified weapon's system. 4. Modified health system. 5. Boat's attach system. 6. Green zones, weapon shop, vehicles shop, vehicle's repair station, ATM system. 7. Vehicle's lock/unlock system's. 8. Vehicle radio system. 9. Glue system. 10. Special promo codes system. 11. Limited map bound's. 12. Etc. It's only "Alpha 0.01" and our first lunch, so we will be grateful if you let us know should we continue or not. Server ip adress: mtasa://46.174.48.46:22082 [Hosted] Server social link's: https://t.me/waterwarmta - Our general group with news [Telegram] https://t.me/joinchat/D6n0NAzYbjZqsnYXPr_bwQ - Our community free chat [Telegram]
  20. Author and editor of Ilnaz Isangulov DxCreateDiagram Client-only function Draws an diargam on the screen for a single frame. In order for the diagram to stay visible continuously, you need to call this function with the same parameters on each frame update (see onClientRender). Syntax bool dxCreateDiagram (float N, float posX, float posY, float cleanWidth, int color = tocolor(255,255,255,255), float scaleXY = 1, bool postGUI = false) Required Arguments N: changing parameter, for example speed posX: the absolute X coordinate of the top left corner of the image posY: the absolute Y coordinate of the top left corner of the image cleanWidth: the width at which it will be cleaned and updated Optional Arguments color: Tints the image with a value produced by tocolor or hexadecimal number in format: 0xAARRGGBB (RR = red, GG = green, BB = blue, AA = alpha). postGUI: A bool representing whether the image should be drawn on top of or behind any ingame GUI (rendered by CEGUI). Example Example of a pendulum swinging from the top of the screen, made using dxDrawImage. local screenWidth,screenHeight = guiGetScreenSize() -- Get screen resolution. function renderDisplay ( ) dxCreateDiagram ( math.random ( 0, 200 ), 0, screenHeight / , , tocolor ( 255, 0, 255, 255 ) , 1, false ) end addEventHandler("onClientRender", root, renderDisplay) -- Keep everything visible with onClientRender. Author and editor of Ilnaz Isangulov This is required in the code! local dataTable = {} local zOld = 0 function dxCreateDiagram(N,x,y,cleanSize,color,size,gui) local _,h = guiGetScreenSize() local x = x or 0 local y = y or h/2 local N = N or 0 local cleanSize = cleanSize or h/2 local color = color or tocolor(255, 255, 255, 255) local size = size or 1 local gui = gui or false local izmen = (N-zOld) table.insert( dataTable, izmen) for i, z in pairs(dataTable) do local x3 = dataTable[i+1] or 1 local x2 = dataTable[i] or 1 if i >= cleanSize then for f,_ in pairs(dataTable) do table.remove(dataTable, f) end end dxDrawLine(x+(i-1), y+1-x2, x+i, y+1-x3, color,size,gui) end end Author and editor of Ilnaz Isangulov
  21. Всем привет, ребят подскажите как сделать на своём сервере в mta чтобы человек от куда выходил на том же месте и появлялся когда заходил и ещё как сделать чтобы когда человек например покупает скин после выхода и входа скин у него оставался, заранее огромное спасибо
  22. Hello There. Well my problem is really annoying. I downloaded MTA properly and after launching MTA everything was fine and when I click "Map Editor" a small window pops up "Starting local server.." Then nothing happens after that. I literally waited for 30 minutes. Thanks for your help!
  23. best program to create new object? How to? I used 3ds max.. is there something better?
  24. howdy.i just hosted my server "RP" and i dont know why i cant connect with Mysql.i tired to put Mysql.so and lib in Modules but it didnt work on windows works. If u dont know how to help me i can give my PHP because anything i have there ist special
  25. Hi, guys, i'm a belarusian, so i'm sorry for my bad english. My suggestion is that you should add a possibility to change animations of guns, so i could shoot and hold colt45 or another guns like a normal guy, not a gangsta :O :~ guy. This issue is already exist since 2014 https://bugs.mtasa.com/view.php?id=8396 I like roleplay servers so i wish u will add this function soon. Thanks.
×
×
  • Create New...