• Content Count

  • Joined

  • Days Won


N3xT last won the day on May 19

N3xT had the most liked content!

Community Reputation

697 MTA Ambassador

About N3xT

  • Rank
    Global Moderator
  • Birthday April 7


  • Location
    Kingdom of Saudi Arabia
  • Occupation

Recent Profile Visitors

6,014 profile views
  1. N3xT

    Button Team

    You need to trigger an event to make this happens, so when the player presses the button you send a server-side trigger, furthermore, you send it back again to his teammates and then do whatever you want to them triggerClientEvent triggerServerEvent
  2. <meta> <script src="file_name.lua" type="server"></script> </meta> edit file_name with the file you have
  3. local marker = createMarker(--[[...]]) local blip = createBlipAttachedTo(marker --[[...]]) addEventHandler("onClientMarkerHit", marker, function(he, md) destroyElement(source) destroyElement(blip) end)
  4. لا تكرر الردود, والمرة الجاية اختار القسم الصحيح لموضوعك https://forum.mtasa.com/forum/134-البرمجة/
  5. N3xT


    what are you trying to achieve exactly? a command with a cooldown?
  6. please, if you're not a proper english speaker just use your native forum to explain your issue properly
  7. https://wiki.multitheftauto.com/wiki/SetElementData https://wiki.multitheftauto.com/wiki/GetElementData https://forum.mtasa.com/topic/83384-element-data/
  8. Just edit these values (x, y, z)? Click here for more info
  9. memory leak حدث الخروج لابد منه عشان تتجنب الـ
  10. @VenomNX removePedFromVehicle لازم تستخدم معاه ,onVehicleEnter ما ينلغي جرب local bikes = {} addEventHandler("onMarkerHit", root, function(element, matchingDimension) if not isElement(element) or not matchingDimension or getElementType(element) ~= "player" then return end if source == pizMar then triggerClientEvent(element, "onPizzaHit", resourceRoot) elseif source == pizMar2 then if getElementData(element, "pizzaOccupent") == true and not bikes[element] then bikes[element] = createVehicle(482, -74.28358, -352.48004, 1.38142, 359.447, 0.000, 93.239) if bikes[element] then warpPedIntoVehicle(element, bikes[element]) setElementData(bikes[element], "isPizzaBike", true) end end end end ) addEventHandler("onVehicleStartEnter", root, function(player) if getElementData(source, "isPizzaBike") == true then if source ~= bikes[player] then cancelEvent() end end end ) addEventHandler("onPlayerQuit", root, function() local bike = bikes[source] if bike then destroyElement(bike) bikes[source] = nil end end )
  11. You need to calculate your vehicle rotation & speed as far as I know. Check out this resource for more info https://community.multitheftauto.com/index.php?p=resources&s=details&id=5078
  12. dxDrawText wordBreak: if set to true, the text will wrap to a new line whenever it reaches the right side of the bounding box. If false, the text will always be completely on one line.
  13. Check your debug (debugscript 3) for errors, also make sure you added the file into your meta and you're using the correct path
  14. اذا انه شغال هذا لا يدل على انه صحيح، فيه فنكشنات من الخطأ استخدامها داخل تايمر متكرر والرندر خصوصاً معلومات زي كذا المفروض ترسل التريقر عند فتح اللوحة كمثال لا اكثر ولا اقل، وكذا تكون وفرت من استهلاك معالج السيرفر وغيره من الامور الاخرى
  15. triggerServerEvent("ON_RENDER_BEGIN",localPlayer); خطأ استخدام التريقر بداخل رندر