Jump to content

trocar para a versão atual do mta ou ver se ainda funciona


Recommended Posts

Posted

preciso de um script que deixe os players dominar areas em lv e ganhando dinheiro de 3 em 3 minutos porfavor me ajudem nao to comsseguindo fazer

  • Moderators
Posted

Boa sorte.

  • Thanks 1

Eu te ajudei ou achou meu comentário útil? Não esqueça de deixar um Thanksspacer.png

Minhas contribuições para a comunidade: LordHenry - MTA Wiki Profile
Inscreva-se no meu canal do YouTube: Lord Henry - Entertainment
Discord Oficial do MTA: https://mtasa.com/discord
Blacklist e Whitelist de Scripters: Planilha

Por favor, não me envie mensagens privadas solicitando suporte. Crie um tópico no fórum em vez disso.

Posted (edited)

Você já tem algum script de dominar territórios? Caso não tenha, você pode baixar em community.multitheftauto.com. Aí é só editar o script da forma que for necessário, e você pode pedir ajuda aqui no que precisar.

Edit: Tem esse resource aqui por exemplo.

Edited by DNL291
  • Thanks 1

Please do not PM me with scripting related question nor support, use the forums instead.

Posted
 
--List Position Turfs
local theTurfs = {
{ 2130, 630, 200, 100 },
{ 2489, 681, 250, 130 },
{ 1858, 623, 140, 165 },
{ 1577, 663, 180, 130 },
{ 1577, 943, 185, 190 },
{ 1383, 909, 120, 230 },
{ 956, 1011, 220, 140 },
{ 1017, 1203, 180, 165 },
{ 1017, 1383, 190, 290 },
{ 917, 1623, 80, 220 },
{ 1017, 1862, 140, 180 },
{ 912, 1958, 90, 240 },
{ 1017, 2063, 150, 300 },
{ 1300, 2092, 200, 140 },
{ 1398, 2323, 160, 65 },
{ 1578, 2284, 180, 110 },
{ 1237, 2581, 450, 130 },
{ 1780, 2567, 130, 130 },
{ 1698, 2724, 200, 150 },
{ 2237, 2723, 180, 110 },
{ 2498, 2704, 300, 140 },
{ 2798, 2303, 120, 300 },
{ 2557, 2243, 100, 230 },
{ 2532, 2063, 100, 150 },
{ 2558, 1624, 100, 300 },
{ 2437, 1483, 160, 120 },
{ 2077, 1203, 340, 170},
{ 2082, 979, 270, 210 }
}

function getTurfs ()
    return theTurfs
end


--Function Money Win On Turf Taken Over 
function getAmountMoney ( )
    return tonumber(3000)
end


--Function Send Message
function sendMessageToPlayer ( thePlayer, message, r, b, g )
    return outputChatBox(message, thePlayer, r, b, g)
end


--Function Send Message
function getGangColor ( GangName )
    return exports["groups-system"]:getGangColour(GangName)
end


--Function Check Is Player In Team Turfing
function isPlayerInTeamTurfing ( thePlayer )
    if ( isElement( thePlayer ) ) then
        local playerTeam = getPlayerTeam(thePlayer)
        local teamName = getTeamName(playerTeam) == "Criminals"
        if ( playerTeam ) and ( teamName ) then
            return true
        else
            return false
        end
    else
        return false
    end
end


--Function Get Gang Player
function getPlayerGang ( thePlayer )
    if ( isElement( thePlayer ) ) then
        local gang = getElementData(thePlayer, "gang" )
        if ( gang ) then
            return tostring(gang)
        else
            return false
        end
    else
        return false
    end
end

preciso que alguem verifique se esse script ainda server no mta pois ele e de 2014 e se possivel atualizar ele 

  • Moderators
Posted
15 hours ago, gustavorn said:

Olá,

Cara, se não me falha a memória, tem a opção upgrade no próprio console do Server para atualizar os sintaxes antigos de versões anteriores.

 

Exato.

Só ir no Console e digitar upgrade nomeDoResource

  • Thanks 1

Eu te ajudei ou achou meu comentário útil? Não esqueça de deixar um Thanksspacer.png

Minhas contribuições para a comunidade: LordHenry - MTA Wiki Profile
Inscreva-se no meu canal do YouTube: Lord Henry - Entertainment
Discord Oficial do MTA: https://mtasa.com/discord
Blacklist e Whitelist de Scripters: Planilha

Por favor, não me envie mensagens privadas solicitando suporte. Crie um tópico no fórum em vez disso.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...