Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 01/05/21 in Posts

  1. What exactly is your problem? Is it bodies being duplicated when dying from explsion? i remember that bug when i was working with my server. If so, you just need to specify that specific player is dead after he dies, and in code make sure it checks that if it's dead, it returns and does nothing. That's how i fixed it. something like this somewhere at top of "kilLDayZPlayer" event function if (getElementData(source,"isDead")) then return; end and make sure you add setAccountData(account, "isDead", true); setElementData(source, "isDead", true); somewhere at the end of code, and once the player respawns remove isDead of course.
    1 point
  2. AttachElements seria mais para "colar" um elemento em outro. Mas você pode usar os parâmetros de offset dele para deixar o elemento "colado porém distante" do outro elemento. @Kii, sobre seu problema é pq veh é uma tabela e não um veículo. Veja oq a função getElementsByType retorna.
    1 point
  3. Thank you, that's exactly what I want!
    1 point
  4. You can combine the tables first with for example this method table.merge. (make sure to copy the code) And then loop through them. Keep in mind that the table.merge method is mutating the first table. (mutating = changing the content of the table, instead of returning a new one) table1 = {1,2,3} table2 = {4,5,6} ---- local newTable = {} table.merge(newTable, table1, table2) -- or with table names table.merge(newTable, {"table1"}, table1, {"table2"}, table2)
    1 point
  5. Mas o que é isso que eu tô vendo na tela do meu computador? Caraca, salvando aquilo tudo de dados numa conta. Imagino que tenha bastante tendas e veículos, não é a melhor forma. ?Mas enfim, tente remover a senha, deixe só o nome da pseudo-conta.
    1 point
×
×
  • Create New...