Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 25/03/19 in Posts

  1. Hello guys! Since I've seen lots of servers are opening with the same gamemodes and then closing after x time, do you guys think that is it worth it to create an unique server nowadays in MTA:SA beside the fact people tend to play something they are used to? Thanks for your time, Simple0x47.
    1 point
  2. I am running SAAW WW2 which is pretty much one of the most unique servers that exist and the player count is pretty trash since release 2016. Reason is that there are many players but they all play CIT / PUBG and other RPG servers that have a huge 24/7 online count. Depending on what you want to do, it might fail. Team Deathmatch is something that obviously no one wants.
    1 point
  3. Copie o código do site abaixo, o fórum tem um problema, as vezes alguns alienígenas colocam alguns caracteres especiais no código impossibilitando ele de funcionar. Código atualizado: https://pastebin.com/3kGX7Nei OBS: Tirei os que eu vi, se o erro continuar me informe a linha e o erro. @Hize Abra o novo link, achei mais 2 caracteres e removi, teste agora.
    1 point
  4. Obviamente não vai funcionar pois você nem trocou o nome da data, me mostre o código aonde ele salva o ID na conta.
    1 point
  5. ي جماعة لحد يخرب علي بـ 30 الف ريال ازبطلك كل شي
    1 point
  6. Dai depende de como o ID está salvo no jogador. Geralmente é por elementData, dai nesses casos vc pode fazer assim: function getPlayerFromID (id) for i, player in ipairs (getElementsByType ("player")) do if getElementData (player, "ID") == id then -- Supondo que o ID esteja salvo com a data de nome "ID". return player end end return false end
    1 point
  7. Mostre o seu código completo, pois o código do Lord não tem getPlayerName
    1 point
  8. source é quem recebe o dano. Em vez de usar source, use targetElem no lugar.
    1 point
  9. Hello, I'll present you my second script (login panel) that i spent many days to realise it me as scripter and my freind (testor) helping much on testing my scripts FEATURES: NO LAG SAVE MONEY SAVE LAST POSITION SAVE USERNAME AND PASSWORD BY checkbox ✔ Dx panel NOTIFICATION SYSTEM Cool background screenshot: I wanna you see this too :+) @Simplex
    1 point
  10. خليني اجرب ? لو تبي front-end web developer My Portfolio: https://ahmedessam.info/
    1 point
  11. Se os grupos vc se refere aos times que aparecem no TAB, dai faça assim: function playerNasceu (posX, posY, posZ, spawnRotation, theTeam) if (theTeam) then -- Se o jogador que spawnar estiver em um time, então: if getTeamName (theTeam) == "Nome da equipe" then -- Se o time em que o jogador está tiver este nome, então: setElementModel (source, 0) -- Nesse exemplo, vai colocar a skin do CJ. Troque o 0 pelo ID da skin que deseja colocar. elseif getTeamName (theTeam) == "Nome de outra equipe" then -- Senão se for este outro nome, então: setElementModel (source, 1) -- Coloca essa outra skin. end end end addEventHandler ("onPlayerSpawn", getRootElement(), playerNasceu) -- Executa isso em cada jogador que nascer. (depois de morrer) Espero ter ajudado. Da próxima vez, tente pesquisar na Wiki.
    1 point
  12. false اخر كود المفروض يكون كذا، عشان ما يفشل التحقق مع قيم ال function _pairs(table) return function(table, index) index = index + 1 local value = table[index] if value ~= nil then return index end end, table, 0 end
    1 point
  13. before getting the player account you must get the player element itself, you can't do that directly through a string. you will need to use getPlayerFromName() local gang = getPlayerAccount(getPlayerFromName(name)) apply it to other getPlayerAccount() as well
    0 points
×
×
  • Create New...