Jump to content

Search the Community

Showing results for tags 'block'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


  • 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


Last Updated

  • Start


Filter by number of...


  • Start



Member Title





Found 7 results

  1. Ola pessoal, sou novo no blog mas estou fazendo um server freeroam e queria uma ajuda para colocar um limite de contas registradas por serial ja tentei algumas funções mas ate agora nada, pfv me ajudem preciso muito dessa função funcionando no painel de login codigo server: addEvent("onRequestLogin",true) addEventHandler("onRequestLogin",resourceRoot, function(username,password,checksave) if not (username == "") then if not (password == "") then local account = getAccount ( username, password ) if ( account ~= false ) then logIn(client,account,password) triggerClientEvent (client,"onClientPlayerLogin",resourceRoot) if checksave and checksave == "1" then triggerClientEvent(client,"useLoginFile",resourceRoot,"set",username,password) else triggerClientEvent(client,"useLoginFile",resourceRoot,"remove",username,password) end else triggerClientEvent(client,"setNotification",resourceRoot,"Errado Nome De Usuário Ou Senha!") end else triggerClientEvent(client,"setNotification",resourceRoot,"Por Favor, Digite Sua Senha!") end else triggerClientEvent(client,"setNotification",resourceRoot,"Digite Seu Nome De Usuário!") end end ) addEvent("onRequestRegister",true) addEventHandler("onRequestRegister",resourceRoot, function(username,password,repassword,serial) if #getAccountsBySerial(serial) == 2 then triggerClientEvent(client,"setNotification",resourceRoot,"Voce Ja Tem 2 Contas Registradas Nesse Serial!") else addAccount() if not (username == "") then if not (password == "") then if not (repassword == "") then if password == repassword then local account = getAccount (username) if (account == false) then local accountAdded = addAccount(tostring(username),tostring(password)) if (accountAdded) then logIn(client,accountAdded,password) triggerClientEvent(client,"onClientPlayerLogin",resourceRoot) triggerClientEvent(client,"useLoginFile",resourceRoot,"set",username,password) outputChatBox("*Logado Com Sucesso! ( Nome de Usuário: #ee8a11" .. username .. " #FFFFFF| Senha: #ee8a11" .. password .. "#FFFFFF )",client,255,255,255,true) else triggerClientEvent(client,"setNotification",resourceRoot,"Por Favor, Escolha Uma Conta E/Ou Senha Diferente") end else triggerClientEvent(client,"setNotification",resourceRoot,"Uma Conta Com Esse Nome De Usuario Ja Existe!") end else triggerClientEvent(client,"setNotification",resourceRoot,"As Senhas Não Coincidem!") end else triggerClientEvent(client,"setNotification",resourceRoot,"Por Favor, Confirme Sua Senha!") end else triggerClientEvent(client,"setNotification",resourceRoot,"Por Favor, Insira Uma Senha Para Criar Sua Nova Conta!") end else triggerClientEvent(client,"setNotification",resourceRoot,"Por Favor, Insira Um Nome De Usuario Para Criar Sua Conta!") end end end ) Erro dado no console: https://imgur.com/a/JlBwzt9 PFV ME AJUDEM ESTOU CRIANDO UM SERVER DE FREEROAM!
  2. What wrong with this script? Error: script.lua:1: unexpected symbol near '?' How to fix this?
  3. Sami_~>


    in my server when the vehicle is blast or destroy, that destroy vehicle is been for long time. i want a script which removes destroyed vehicle in 3 or 4 second . please help me
  4. can any one say me how can i block weapons like rpg,minigun,rocket launcher etc..
  5. Hi, I was curious when the garbage collector would clean something like this: function testFunction () local testVariable = 100 local function firstFunctionInBlock () print("first function, testVariable: " .. testVariable ) testVariable = testVariable + 1 end local function secondFunctionInBlock () print("second function, testVariable: " .. testVariable) testVariable = testVariable + 1 end return function () firstFunctionInBlock() secondFunctionInBlock () end end function testFunction () -------------------------- -- function block -- -------------------------- end Executed with: local newCreatedFunction = testFunction() newCreatedFunction() newCreatedFunction() newCreatedFunction() -- print("--") -- local newCreatedFunction2 = testFunction() newCreatedFunction2() newCreatedFunction2() newCreatedFunction2() Results: first function, testVariable: 100 second function, testVariable: 101 first function, testVariable: 102 second function, testVariable: 103 first function, testVariable: 104 second function, testVariable: 105 -- first function, testVariable: 100 second function, testVariable: 101 first function, testVariable: 102 second function, testVariable: 103 first function, testVariable: 104 second function, testVariable: 105 I assume when I nil the function that is active in the block. newCreatedFunction = nil It will clear the first created function block by the garbage collector. newCreatedFunction2 = nil Same goes for clearing the second created function block. I did like to hear your opinion about this matter!
  6. dimasikmq

    blocking in Mta

    I got a lock on the account for 17 days because it was just playing with a friend in the MTA. please take action. serial: 750F18665611EE075140489323994FA2
  7. DanielBar

    blocking in Mta

    Здравствуйте меня просто так забанили во всей игре не даёт зайти не на какой сервер, пишет типо Trainer хотя читами не пользуюсь или же знаю к чему всё ведёт...Прошу помогите мне!!! Hello I just banned in the entire game makes you go not on a server, writes tipo Trainer though cheat do not use or know where this is going...Please help me!!! Help me please!!! Помогите пожалуйста!!!
  • Create New...