Bueno, yo hace no mucho que empecé a scriptear y he estado probando algunas cosas con paradise , haciendo scripts, etc, y necesito ayuda ya que al hacer un comando para revivir a alguien cuando está muerto, todo va bien menos que cuando reaparece le sigue saliendo lo de "Wait X Seconds for Respawn" necesito ayuda para quitar eso cuando le reviva, este es el código que tengo:
addCommandHandler( "revivir",
function( player, commandName, otherPlayer, ... )
local other, name = exports.players:getFromName( player, otherPlayer )
local isdead = isPedDead ( other )
local x, y, z = getElementPosition ( other )
if isdead then
spawnPlayer( other, x, y, z )
setCameraTarget ( other )
else
outputChatBox( "Este jugador esta vivo.", player, 0, 255, 153 )
end
end
)
perdón si sale un poco movido pero en el lua original todo esta bien alineado