Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 04/02/20 in all areas

  1. السلام عليكم ورحمة الله وبركاته اليوم حابب اقولكم اني بفتح سيرفر وشغال علي السيرفر لي 3 شهور المهم قررت افتح السيرفر بكرا الساعة 7 بتوقيت مصر , والساعة 8 بتوقيت السعودية تنوروني كلكم ان شاء الله
    1 point
  2. Hi everyone, a long time ago (novermber 2018) i started making new project called MTA Racing. This project has an own unique atmosphere legendary games such as: NFS Underground 1/2 + Midnight Club games series by Rockstar games. I am a big fun of it and we started implement it, but this project has status abandoned in april 2019. But right now i decided to finish it in free time. Now i gonna tell you more info about this. Features: Custom mapping around Los Santos, 70% remake. Custom race tracks. Tuning: Spoilers Front/Rear/Side bumbers Neon
    1 point
  3. Ta ai, um sistema simples de Detran. local acl = "Detran" -- acl que tem permissão para efetuar os comandos /guinchar /soltar e pegar o carro do detran. local detran = { vtr = {}, last = {}, inUse = {}, guinchado = {}, }; function darCarro(jogador) if isPlayerInACL(jogador, acl) then if detran.inUse[jogador] ~= true then if detran.vtr[jogador] then destroyElement(detran.vtr[jogador]) detran.vtr[jogador] = nil end detran.vtr[jogador] = createVehicle(578, 1547.663, -2303.496, 13.545,-0, 0, 1.548) warpPedIntoVehicle(jogador, detran.vtr[jogador]) outputChatBox(
    1 point
  4. function checkPointFinal(hitElement, d) if isElement(hitElement) and getElementType(hitElement) == "player" and d then -- se existir o elemento e se o tipo do elemento for player e se esta na mesma dimensao do marcador if getElementData(hitElement, "checkpoint3") then destroyElement(getPedOccupiedVehicle(hitElement)) setElementVisibleTo(blip2, hitElement, false) setElementVisibleTo(blip3, hitElement, false) setElementVisibleTo(blip4, hitElement, false) setElementVisibleTo(blip5, hitElement, false) setElementVisibleTo(job2, hitElement, false) setElementVisibleTo(job3,
    1 point
  5. -- CLIENT SIDE addCommandHandler("hide", function() local vehicle = getPedOccupiedVehicle(localPlayer) if not vehicle then return outputChatBox("ERROR: You have to sit in a vehicle!") end setVehicleComponentVisible(vehicle, "bump_front_dummy", false) setVehicleComponentVisible(vehicle, "bump_rear_dummy", false) outputChatBox("SUCCESS: Bumpers are hided!") end)
    1 point
  6. Obrigado mano vou tentar
    1 point
  7. - Crie uma tabela - Insira o veículo dentro da tabela - Use onPlayerVehicleEnter como evento. local viatura = {} -- tabela criada function salvar_Carro (vehicle, seat, jacked) viatura[source] = vehicle -- veiculo inserido end addEventHandler('onPlayerVehicleEnter', getRootElement(), salvar_Carro) -- evento de ativação!
    1 point
  8. aga = guiCreateWindow(190, 167, 881, 477, "NeadHelp :(", false) MyButton = guiCreateButton(0.4,0.8,0.1,0.07,"Hello World!",false,aga) -- guiSetVisible (aga,false) guiSetEnabled ( MyButton ,false) addEvent("Enabled",true) addEventHandler("Enabled",getRootElement(), function () if guiGetEnabled ( MyButton ) == true then guiSetEnabled ( MyButton, false ) else guiSetEnabled ( MyButton, true ) end end ) -- Server addCommandHandler("Opin", function ( ) triggerClientEvent(root,"Enabled",root ) end) جرب
    1 point
  9. Não precisa dessas condições ;p. Simplificando: local sFormat = string.format function renderTime () local time = getRealTime() local minutes = time.minute local seconds = time.second local hours = (time.hour == 0) and 12 or time.hour % 12 local ampm = (time.hour > 12) and " pm" or " am" local theTime = sFormat( "%02d:%02d:%02d", hours, minutes, seconds ) dxDrawText ( theTime..ampm, left, top, right, bottom ) -- HH:MM:SS am end addEventHandler ("onClientRender", root, renderTime)
    1 point
  10. Hello, I am Brazilian nicknamed Guto, I have no knowledge in English Redesigned the main layout of mta using the Photoshop tool I have knowledge in HTML5 and CSS3 The layout has been redesigned in a simple and clean, modern way bringing more harmony to the contained elements, maintaining the elements hierarchy and the USABILITY. *Just add a logo!
    1 point
×
×
  • Create New...