Postado Setembro 25, 2019 5 anos Porfavor kkkk Pois estou atrás disso a um bom tempo, querendo implantar no mapa Rozinx que estou arrumando
Postado Setembro 26, 2019 5 anos @Vinni012 local config = { monsterName = "star", countKillMonster = 3, storageKillMonster = 6665, storagePoints = 7775 } function onDeath(cid, corpse, deathList) local killer = deathList[1] local pos = getCreaturePosition(killer) if not isMonster(cid) or not isPlayer(killer) then return true end if getPlayerStorageValue(killer, config.storageKillMonster) == -1 then setPlayerStorageValue(killer, config.storageKillMonster, 0) end setPlayerStorageValue(killer, config.storageKillMonster, getPlayerStorageValue(killer, config.storageKillMonster) + 1) if getPlayerStorageValue(killer, config.storageKillMonster) == config.countKillMonster then doSendMagicEffect(pos, CONST_ME_MAGIC_BLUE) if getPlayerStorageValue(killer, config.storagePoints) == -1 then setPlayerStorageValue(killer, config.storagePoints, 0) end setPlayerStorageValue(killer, storagePoints, getPlayerStorageValue(killer, config.storagePoints) + 1) setPlayerStorageValue(killer, config.storageKillMonster, 0) doPlayerSendTextMessage(killer, MESSAGE_STATUS_CONSOLE_RED, "You receive 1 vip point by kill ".. config.countKillMonster .."x the monster ".. config.monsterName ..".") else doPlayerSendTextMessage(killer, MESSAGE_STATUS_CONSOLE_BLUE, "You killed ".. getPlayerStorageValue(killer, config.storageKillMonster) .." of ".. config.countKillMonster .." ".. config.monsterName ..", There are still ".. config.countKillMonster - (getPlayerStorageValue(killer, config.storageKillMonster)) .." ".. config.monsterName .." left to receive the reward.") end return true end Mas eu recomendaria fazer por onKill ao invés de onDeath Editado Setembro 26, 2019 5 anos por luanluciano93 (veja o histórico de edições) STYLLER OT 2022
Postado Setembro 27, 2019 5 anos @luanluciano93 Não entendi kkkk No caso tenho que substituir o que esta ai com o aegis ? E
Postado Maio 14, 2022 3 anos Desculpa reviver o tópico, Mais eu queria saber como eu instalo isso no mapa, tipo to perdido kkkkkkkk alguem para da uma solução Meu novo projeto. http://oi58.tinypic.com/2yplmrk.jpg
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.