Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 24/11/18 in all areas

  1. Hi! I am Ciastuuś(Ciastuus) and today I present the construction system, which is visible in the film below. One day I came up with the idea of creating something that was not there. Namely, we wanted to create a server based on Rustie, but due to lack of time and limitations, we created a demonstration script that will exist on the server that we will open if we find the time. What can the script do? We will answer this question! Building on a designated area Creating all available elements visible in the video Removing manually created items Destroying elements by hitting a vehicle or shooting it with a gun And many more in subsequent versions! The visible zone has been modeled in its entirety, and checking whether an element is in the zone is part of the script. Same as effects. The effects are part of modeling and scripting them. If you have an idea what to add, please write in a comment, thank you! Credits: * Ciastuus(me) * Vagos * x0nx * xS3nd * Kavp * ... more
    2 points
  2. السلام عليكم ورحمة الله وبركاته !! اعزائي اعضاء ومحبين مجتمع العرب, سنقوم بتوزيع حسابات ماين كرافت وفورتنايت اصلية ومجاناً لكم فقط تحتوي حسابات فورتنايت على 30 شخصية (سكن) ويمكنك تغير اسم الحساب والمعلومات السرية وكلمة السر وكل شيء "Save The World"حساب فورتنايت يحتوي على طور سنقوم بتوزيع الحسابات حين وصول عدد اعضاء السيرفر الى 100 !!لطفاً قم بمشاركة رابط السيرفر مع أصدقائك, أقاربك او حتى عائلتك اضغط هنا لدخول السيرفر
    2 points
  3. 10k Credits on Discord قيف اواي على دخول السيرفر
    2 points
  4. السلام عليكم ورحمة الله وبركاته اليوم عندي مود البناء حق فورتنايت بام تي اي فيديو: للتواصل عبر الدسكورد: KhaledAlamri#5158 ملاحظة مو انا الي مسوي المود رجاءاً لحد يجيني خاص.. الي يبيه يتواصل مع خالد العمري
    1 point
  5. كيف اقدر اسوي مربع دي اكس دار م دار على الاعب
    1 point
  6. » Feature in which allows the player to make purchases in the Extra Supermarket on my server. The player enters, goes to a pratileira, or freezer of the Coke, picks the selected item according to the instructions left in the menu, and after this, goes to the box, which informs the item name, quantity, value and the button to buy. * Contains textures. Download: No Click to watch the video Mods for MTA
    1 point
  7. local spawnX, spawnY, spawnZ = 1480.9730224609, -1771.46875, 18.8 function joinHandler() spawnPlayer(source, spawnX, spawnY, spawnZ) fadeCamera(source, true) setCameraTarget(source, source) end addEventHandler("onPlayerJoin", getRootElement(), joinHandler) local spawnPos = { {2034.9428710938, -1403.2003173828, 18, "Hospital mais próximo: Los Santos"}, {-2655.3991699219, 638.16137695313, 15, "Hospital mais próximo: San Fierro"}, {-1514.6713867188, 2522.4748535156, 56, "Hospital mais próximo: Tierra Robada"}, {1607.62890625, 1818.9958496094, 11, "Hospital mais próximo: Las Venturas"}, {-2198.5632324219, -2306.6220703125, 31, "Hospital mais próximo: Whetstone"}, } addEventHandler ("onPlayerWasted", getRootElement(), function (ammo, attacker, weapon, bodypart) local x, y, z = getElementPosition (source) local dist = 99999 local id = 0 for i, v in ipairs (spawnPos) do local pX, pY, pZ = spawnPos[i][1], spawnPos[i][2], spawnPos[i][3] if getDistanceBetweenPoints3D (x, y, z, pX, pY, pZ) < dist then dist = getDistanceBetweenPoints3D (x, y, z, pX, pY, pZ) id = i end end outputChatBox(spawnPos[id][4], source) --Write out spawn pos setTimer(spawnPlayer, 3000, 1, source, spawnPos[id][1], spawnPos[id][2], spawnPos[id][3]) -- Spawn after 3 second end) Try this.
    1 point
  8. There's the bone_attach resource and you can attach any object - so you can replace some model with glasses and attach them to the head bone.
    1 point
  9. https://forum.multitheftauto.com/topic/112610-show-builiding-system/ الأجانب وين وصلو... وإحنا لسا الواحد يعيد تصميم مود العاجل يعتبر مبرمج كبير.. للأسف (اللي يقولي فرجينا مهارتك . ياريت بس اللعبة بدأت تموت عند بلدان العرب
    1 point
  10. Ta ae, coloquei comentários pra ficar mais fácil de entender. local spawnPos = { -- (Prefira usar no máximo 3 casas decimais.) [1] = {2034.9428710938, -1403.2003173828, 18}, -- Hospital 1 LS [2] = {-2655.3991699219, 638.16137695313, 15}, -- Hospital SF [3] = {-1514.6713867188, 2522.4748535156, 56}, -- Hospital Tierra Robada [4] = {1607.62890625, 1818.9958496094, 11}, -- Hospital LV [5] = {-2198.5632324219, -2306.6220703125, 31}, -- Hospital Whetstone } addEventHandler ("onPlayerWasted", getRootElement(), function () -- Executa essa função quando o player morre. local x, y, z = getElementPosition (source) -- x, y, z recebem a posição do player onde ele morreu. local dist = 99999 -- Distância do ponto mais próximo. local id = 0 -- ID da coordenada mais próxima. for i, v in ipairs (spawnPos) do -- Para cada table de coordenadas, faça: local pX, pY, pZ = unpack (spawnPos[i]) -- pX,pY, pZ recebem as coordenadas que estão no spawnPos[i] if getDistanceBetweenPoints3D (x, y, z, pX, pY, pZ) < dist then -- Se a distância dessa coordenada for menor que dist, então: dist = getDistanceBetweenPoints3D (x, y, z, pX, pY, pZ) -- Atualiza a distância para essa. id = i -- Atualiza o id para este. end end if id == 1 then -- Outputs que servem somente para testes. outputChatBox ("Hospital mais próximo: Los Santos", source) elseif id == 2 then outputChatBox ("Hospital mais próximo: San Fierro", source) elseif id == 3 then outputChatBox ("Hospital mais próximo: Tierra Robada", source) elseif id == 4 then outputChatBox ("Hospital mais próximo: Las Venturas", source) elseif id == 5 then outputChatBox ("Hospital mais próximo: Whetstone", source) end setElementData (source, "killNear", id) -- Seta o id mais próximo como data no player. end) function spawnMe () if getElementData (source, "killNear") then -- Se o jogador que morreu tem essa data, então: (quando o jogador entra no server, ele spawna sem essa data) setElementPosition (source, unpack (spawnPos[getElementData (source, "killNear")])) -- Coloca ele na posição desse ID que está na data. removeElementData (source, "killNear") -- Remove essa data, que não será mais usada até que ele morra novamente e uma nova data seja criada. end end addEventHandler ("onPlayerSpawn", getRootElement(), spawnMe) -- Executa essa função quando o player spawna.
    1 point
  11. ايه صح صح و خاصة الcll الي عمري ما سمعت عنها بالله ذول لغات؟
    1 point
  12. local hospitais = { { x, y, z }, { x, y, z }, } function getNewSpawn( player ) local hospitais_ = { } local x, y, z = getElementPosition( player ) for i=1, #hospitais do table.insert( hospitais_, { distance = getDistanceBetweenPoints3D( x, y, z, hospitais[ i ][ 1 ], hospitais[ i ][ 2 ], hospitais[ i ][ 3 ] ), id = i } ) end table.sort( hospitais_, function( a, b ) return a.distance < b.distance end ) local id = hospitais_[ 1 ].id return hospitais[ id ][ 1 ], hospitais[ id ][ 2 ], hospitais[ id ][ 3 ] end --[[ local x, y, z = getNewSpawn( player ) ]]--
    1 point
  13. Very Cool!! Awesome, congratulations. -- I Like much!
    1 point
  14. SetDevelopmentMode Depois de ativar isso, use /showcol Espero ter ajudado.
    1 point
  15. Üdvözletem! Gép újrarakás után beléptem az MTA kliensbe és a következő szöveg fogadott: Kitiltva általa: MTA Reason: Trainer Egyik szerverre sem tudok csatlakozni, többféle GTA:SA verzióval is próbálkoztam, egyikkel sem működött. Nem használok semmilyen külső programot, vagy trainert, nem tudom mi lehet a probléma. Serialom: D255D0589A3517B3311A313072B792E3
    1 point
  16. 1 point
  17. Do you still have a car caching system? ?
    0 points
  18. يجب تتعلم لغة +cll و Console و Acl
    0 points
×
×
  • Create New...