Postado Abril 1, 2018 7 anos function onKill(cid, target, lastHit) if cid ~= target and isPlayer(target) then if getPlayerIp(cid) == getPlayerIp(target) then doPlayerAddExperience(cid, -1000000) doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_RED, 'You have been punished for killing a player of the same IP.') else local attackerLevel, level = getPlayerLevel(cid), getPlayerLevel(target) if level >= math.floor(attackerLevel * 0.5) and level <= math.floor(attackerLevel * 1.5) then doPlayerAddItem(cid, 2152, 5) doPlayerAddItem(cid, 5944, 1) end end end return true end Me ajude Por favor para este roteiro como trabalhar Own3d By Namo Editado Abril 1, 2018 7 anos por Jow12 (veja o histórico de edições)
Postado Abril 1, 2018 7 anos O ideal seria você especificar o script que deseja, para que outros usuários possam te ajudar.
Postado Abril 1, 2018 7 anos Autor function onKill(cid, target, lastHit) if cid ~= target and isPlayer(target) then if getPlayerIp(cid) == getPlayerIp(target) then doPlayerAddExperience(cid, -1000000) doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_RED, 'You have been punished for killing a player of the same IP.') else local attackerLevel, level = getPlayerLevel(cid), getPlayerLevel(target) if level >= math.floor(attackerLevel * 0.5) and level <= math.floor(attackerLevel * 1.5) then doPlayerAddItem(cid, 2152, 5) doPlayerAddItem(cid, 5944, 1) end end end return true end ajuda por favor
Participe da conversa
Você pode postar agora e se cadastrar mais tarde. Se você tem uma conta, faça o login para postar com sua conta.