Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local questCreatures = {
- [11] = {nome ="beezer", kills = 50},
- [2] = {nome ="beaver", kills = 25},
- [3] = {nome ="snake", kills = 25},
- [4] = {nome ="dog", kills = 50},
- [5] = {nome ="bandit", kills = 150},
- [6] = {nome ="shinobi fire", kills = 70},
- [7] = {nome ="dog fear", kills = 50},
- [8] = {nome ="bandit sword", kills = 40},
- [9] = {nome ="boxer", kills = 50},
- [10] = {nome ="nukenin", kills = 80},
- [11] = {nome ="anbu", kills = 150},
- [12] = {nome ="giant furie", kills = 200},
- [13] = {nome ="sword man", kills = 200},
- [14] = {nome ="insecnoide", kills = 200},
- [15] = {nome ="bison", kills = 350},
- [16] = {nome ="unknown", kills = 350},
- [17] = {nome ="frozen monster", kills = 450},
- [18] = {nome ="gama bunta", kills = 250},
- [19] = {nome ="black anbu", kills = 350},
- [20] = {nome ="kimachi yagou", kills = 350},
- [21] = {nome ="yeti", kills = 350},
- [22] = {nome ="Tsuchikage Golem I", kills = 350},
- [23] = {nome ="elite guarde", kills = 350},
- [24] = {nome ="master anbu", kills = 350},
- [25] = {nome ="chouza akimichi", kills = 350},
- [26] = {nome ="white arak", kills = 350},
- [27] = {nome ="master anbu", kills = 350},
- [28] = {nome ="master anbu", kills = 350},
- [29] = {nome ="mutation", kills = 350},
- [30] = {nome ="giant arak", kills = 350},
- [31] = {nome ="wolfeyko", kills = 350},
- [32] = {nome ="doki", kills = 350},
- [33] = {nome ="scorpion", kills = 350},
- [34] = {nome ="black widow", kills = 350},
- [35] = {nome ="ice serpent", kills = 350},
- [36] = {nome ="suna no kami", kills = 350},
- }
- if getPlayerStorageValue(cid, 411987) ~= -1 then
- doPlayerSendTextMessage(cid, 27,"Você têm atualmente a task de matar "..getPlayerStorageValue(cid, 411987).."")
- end
- if getPlayerStorageValue(cid, 411988) <= os.time() then
- if getPlayerLevel(cid) <= 50 then
- local randomico = questCreatures[math.random(1, 5)]
- setPlayerStorageValue(cid, 411987, randomico.nome)
- setPlayerStorageValue(cid, 411988, os.time()+ 24 * 60 * 60)
- elseif getPlayerLevel(cid) > 50 and getPlayerLevel(cid) <= 100 then
- local randomico = questCreatures[math.random(6, 10)]
- setPlayerStorageValue(cid, 411987, randomico.nome)
- setPlayerStorageValue(cid, 411988, os.time()+ 24 * 60 * 60)
- doPlayerSendTextMessage(cid, 27,"Você recebeu a task de matar "..randomico.kills .." ".. randomico.nome.."")
- elseif getPlayerLevel(cid) > 100 and getPlayerLevel(cid) <= 200 then
- local randomico = questCreatures[math.random(11, 17)]
- setPlayerStorageValue(cid, 411987, randomico.nome)
- setPlayerStorageValue(cid, 411988, os.time()+ 24 * 60 * 60)
- doPlayerSendTextMessage(cid, 27,"Você recebeu a task de matar "..randomico.kills .." ".. randomico.nome.."")
- elseif getPlayerLevel(cid) > 200 and getPlayerLevel(cid) <= 300 then
- local randomico = questCreatures[math.random(18, 22)]
- setPlayerStorageValue(cid, 411987, randomico.nome)
- setPlayerStorageValue(cid, 411988, os.time()+ 24 * 60 * 60)
- doPlayerSendTextMessage(cid, 27,"Você recebeu a task de matar "..randomico.kills .." ".. randomico.nome.."")
- elseif getPlayerLevel(cid) > 300 and getPlayerLevel(cid) <= 400 then
- local randomico = questCreatures[math.random(23, 24)]
- setPlayerStorageValue(cid, 411987, randomico.nome)
- setPlayerStorageValue(cid, 411988, os.time()+ 24 * 60 * 60)
- doPlayerSendTextMessage(cid, 27,"Você recebeu a task de matar "..randomico.kills .." ".. randomico.nome.."")
- elseif getPlayerLevel(cid) > 400 and getPlayerLevel(cid) <= 500 then
- local randomico = questCreatures[math.random(25, 29)]
- setPlayerStorageValue(cid, 411987, randomico.nome)
- setPlayerStorageValue(cid, 411988, os.time()+ 24 * 60 * 60)
- doPlayerSendTextMessage(cid, 27,"Você recebeu a task de matar "..randomico.kills .." ".. randomico.nome.."")
- elseif getPlayerLevel(cid) > 500 and getPlayerLevel(cid) <= 550 then
- local randomico = questCreatures[math.random(30, 31)]
- setPlayerStorageValue(cid, 411987, randomico.nome)
- setPlayerStorageValue(cid, 411988, os.time()+ 24 * 60 * 60)
- doPlayerSendTextMessage(cid, 27,"Você recebeu a task de matar "..randomico.kills .." ".. randomico.nome.."")
- elseif getPlayerLevel(cid) > 550 and getPlayerLevel(cid) <= 600 then
- local randomico = questCreatures[math.random(30, 31)]
- setPlayerStorageValue(cid, 411987, randomico.nome)
- setPlayerStorageValue(cid, 411988, os.time()+ 24 * 60 * 60)
- doPlayerSendTextMessage(cid, 27,"Você recebeu a task de matar "..randomico.kills .." ".. randomico.nome.."")
- elseif getPlayerLevel(cid) > 600 and getPlayerLevel(cid) <= 700 then
- local randomico = questCreatures[math.random(32, 35)]
- setPlayerStorageValue(cid, 411987, randomico.nome)
- setPlayerStorageValue(cid, 411988, os.time()+ 24 * 60 * 60)
- doPlayerSendTextMessage(cid, 27,"Você recebeu a task de matar "..randomico.kills .." ".. randomico.nome.."")
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement