Jump to content

Leaderboard

Popular Content

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

  1. What about more smoothly positions? local x, y = getElementPosition(getRandomPlayer()); for _i = 1, 300 do local i = _i / 10; local z = getGroundPosition(x + i, y); createObject(1337, x + i, y, z); local z = getGroundPosition(x - i, y); createObject(1337, x - i, y, z); local z = getGroundPosition(x, y + i); createObject(1337, x, y + i, z); local z = getGroundPosition(x, y - i); createObject(1337, x, y - i, z); end
    1 point
  2. والله كفوو لاي شخص ساعدني
    1 point
  3. for id, player in ipairs(getElementsByType("player")) do if getElementData( player, 'data' ) then end end
    1 point
  4. addCommandHandler("dc", function( thePlayer ) outputChatBox( "texto", thePlayer ) end)
    1 point
  5. Faça o seguinte. Nas linhas 436, 437, 439 e 440 troque player por source. Algumas dicas simples: - Antes de tudo, procure postar suas duvidas nesta seção, pois isto ajuda a manter a organização do fórum: https://forum.multitheftauto.com/forum/127-programação-em-Lua/ - Abaixo vou deixar um post explicando melhor como funciona este fórum: - Sempre que estiver mexendo com seus mods ative o debugscript 3, digitando /debugscript 3 no chat ( para desligar use /debugscript 0). Isto lhe ajuda a identificar o que esta dando erro! - Se você entende quase 0 de scripts de uma olhada nesses posts: Post por manawydan - Lógica de Programação Básica: Post por DNL291 - Informações úteis - Scripting/Configurações/Tutoriais para o MTA: Para finalizar, caso não funcione o script só estar comentando novamente, e por favor se puder informe o erro com uma print ou algo do tipo (não se esqueça de ativar o debugscript!). Facilita bastante a estar te ajudando.
    1 point
  6. resourceRoot = ذي للسكربت يعني لو سويت ماركرين وحطيت حدث اذا أحد دخل الماركر تجيه فلوس مثلا يصير لو احد دخل اي ماركر من الاثنين بياخذ فلوس -- root عكس ذي مع امكانية اضافة شرط لتحقيق الحدث انه اذا احد دخل الماركر يتحقق الشرط ويعطية فلوس ولو دخل الماركر الثاني لا ياخذ فلوس
    1 point
  7. addCommandHandler e outputChatBox são as funções que você vai precisar.
    1 point
  8. اقصد انة خاص لى mta مش ليا انا
    1 point
  9. The mapping is without custom textures.
    1 point
  10. Salutare ? Am deschis serverul SwordGaming va asteptam pe server daca vreti ceva unic si frumos! ss: https://prnt.sc/qw4r1c IP : mtasa://185.248.199.125:22003 discord:https://discord.gg/hFKnVNz
    1 point
  11. According to what I found on mybb github , t, their hashing method is md5 of salt and md5 of password concatenated together and md5 hashed again, this time together. local passHash -- comes from the database local passSalt -- comes from the database local password -- user input if passHash == md5( md5(passSalt) .. md5(password) ) then -- password is correct else -- password is incorrect end
    1 point
  12. اطرح محاولتك
    0 points
×
×
  • Create New...