Jump to content

RESPAW DENTRO DA ARENA DE SKIN


Recommended Posts

Posted

RESPAWN DE SKIN MORRER MAS FICA COM MESMA SKIN DE ANTES QUE MORREU E QUE DE PARA EQUIPAR OUTRAS PELES SEM BLOQUEAR ALGUEM ME AJUDA POR GENTILEZA QUEM PODER 

FIZ ESSE VÍDEO PARA MOSTRAR TEM APAGAR ALGUMA LINHA DO SERVE OU CLIENTE

 

 

  • Moderators
Posted

Thread moved to the Portuguese forum for best results.

Do note that the Scripting Tutorials section is located in the International forum and hence posts there must be kept English

  • 3 weeks later...
Posted
On 01/12/2020 at 18:04, DG2X said:

RESPAWN DE SKIN MORRER MAS FICA COM MESMA SKIN DE ANTES QUE MORREU E QUE DE PARA EQUIPAR OUTRAS PELES SEM BLOQUEAR ALGUEM ME AJUDA POR GENTILEZA QUEM PODER 

FIZ ESSE VÍDEO PARA MOSTRAR TEM APAGAR ALGUMA LINHA DO SERVE OU CLIENTE

 

 

Então amigo procure no seu script de spawn a function 'spawnPlayer', se vc achar me manda essa linha pfv !

Posted
function onWasted()
	local skin = getElementModel(source)
	spawnPlayer(source, x, y, z, 0, skin, 0, 0)
end
addEventHandler("onPlayerWasted", root, onWasted)

Procure uma função parecida com essa no seu script, e antes do spawnPlayer, crie uma variável para pegar a skin atual do player e coloque-a no spawnPlayer. Isso resolverá seu problema

Posted
9 hours ago, ber said:

function onWasted()
	local skin = getElementModel(source)
	spawnPlayer(source, x, y, z, 0, skin, 0, 0)
end
addEventHandler("onPlayerWasted", root, onWasted)

Procure uma função parecida com essa no seu script, e antes do spawnPlayer, crie uma variável para pegar a skin atual do player e coloque-a no spawnPlayer. Isso resolverá seu problema

isso !

  • Thanks 1
  • 2 weeks later...
Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

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