Postado Maio 23, 2012 13 anos Queria que alguem muito generozo Éh você mesmo @MatheusVidaLoka :3 Que deixa-se esse script para 8.60 pf pf vai '-' Mostrar conteúdo oculto titles = { [99] = "Private First Class", [102] = "Specialist", [104] = "Corporal", [106] = "Sergeant", [108] = "Staff Sergeant", [110] = "Sergeant First Class", [115] = "Master Sergeant", [120] = "First Sergeant", [125] = "Sergeant Major", [130] = "Command Sergeant Major", [135] = "Sergeant Major of the Army", [140] = "Second Lieutenant", [145] = "First Lieutenant", [150] = "Captain", [160] = "Major", [170] = "Lieutenant Colonel", [180] = "Colonel", [190] = "Brigadier General", [200] = "Major General", [220] = "Lieutenant General", [240] = "General", [260] = "General of the Army" } fragsStorage = 600 ]]> domodlib("ranks") function onLook(cid, thing, position, lookDistance) if(isPlayer(thing.uid)) then local rank = {rank = "Private", frags = 0} for k, v in pairs(titles) do if(math.max(0, getPlayerStorageValue(thing.uid, fragsStorage)) > k - 1) then if(k - 1 > rank.frags) then rank.rank, rank.frags = v, k - 1 end end end doPlayerSetSpecialDescription(thing.uid, "\n Military rank: " .. rank.rank) end return true end ]]> domodlib("ranks") function onKill(cid, target) if(isPlayer(target)) then setPlayerStorageValue(cid, fragsStorage, math.max(0, getPlayerStorageValue(cid, fragsStorage) + 1)) if(titles[getPlayerStorageValue(cid, fragsStorage)]) then doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Você subiu de patente: " .. titles[getPlayerStorageValue(cid, fragsStorage)] .. ". Parabéns " .. titles[getPlayerStorageValue(cid, fragsStorage)] .. "!") end end return true end ]]> function onLogin(cid) registerCreatureEvent(cid, "ranksKill") registerCreatureEvent(cid, "ranksLook") return true end ]]> Eleh é 1 sistema de RANKS por nome de patentes... não sei que que versão ta (creio que +de 8.60) queria que deixa-se 8.60... agradeço desde já.... REP+ QUEM AJUDAR :3 TeamSpeak 3 Public - TS.TeamSpeakClub.comwww.TeamSpeakClub.comCrie seu Canal Permanente!
Postado Maio 23, 2012 13 anos Autor Em 23/05/2012 em 00:20, Fatality disse: Tópico reportado pelo nome estar inapropriado nesta sessão. Em 23/05/2012 em 00:20, Fatality disse: Tópico reportado pelo nome estar inapropriado nesta sessão. Na boua... ¬¬'' Cara eu to pedindo uma ajuda, não tenta se crescer nas costas dos outros... TI VIRA RAPAZ! TeamSpeak 3 Public - TS.TeamSpeakClub.comwww.TeamSpeakClub.comCrie seu Canal Permanente!
Postado Maio 23, 2012 13 anos Hm.... vou tentar aqui , qualquer coisa posto aqui para você. Ajudei? Reputar Cai o dedo? Acho que não Mapper : 80% Scripter : 40% Client Maker : 100% Spriter : 100% Web Designer : Aprendendo Meus Mapas : Citar [8.60] Rivals Baiak 1.0 Global Compacto Edited by MatheusVidaLoka [8.60]
Postado Maio 23, 2012 13 anos Autor /\ Sabe os REP+ vem depois xD Sério presizo muito disto *-' TeamSpeak 3 Public - TS.TeamSpeakClub.comwww.TeamSpeakClub.comCrie seu Canal Permanente!
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.