Postado Fevereiro 3, 2019 6 anos Olá a todos, alguém poderia re-ajustar esse sistema para que quando eu der look em mim mesmo apareça minha saga pois esse script abaixo só mostra sua saga se outro player der look em você. Script : Citar function onLook(cid, thing, position, lookDistance) if isPlayer(thing.uid) then local type = getPlayerStorageValue(thing.uid, 89745) doPlayerSetSpecialDescription(thing.uid, "\n "..(getPlayerSex(cid) == 0 and "She" or "He").." are "..(type < 0 and "Shinobi" or type == 1 and "Genin" or type == 2 and "Chunin" or type == 3 and "Jounin" or type == 4 and "Anbu" or type == 5 and "Sennin" or type == 6 and "Akatsuki Member")) end return true end
Postado Fevereiro 3, 2019 6 anos O script só é isso mesmo? se for, ai está: function onLook(cid, thing, position, lookDistance) if isPlayer(cid) then local type = getPlayerStorageValue(cid, 89745) doPlayerSetSpecialDescription(cid, "\n "..(getPlayerSex(cid) == 0 and "She" or "He").." are "..(type < 0 and "Shinobi" or type == 1 and "Genin" or type == 2 and "Chunin" or type == 3 and "Jounin" or type == 4 and "Anbu" or type == 5 and "Sennin" or type == 6 and "Akatsuki Member")) end return true end Editado Fevereiro 3, 2019 6 anos por Yan Liima (veja o histórico de edições) ╔══════════════════════════ҳ̸Ҳ̸ҳஜ۩۞۩ஜҳ̸Ҳ̸ҳ══════════════════════════╗ Te Ajudei? Rep + e ficamos Quits Precisando de ajuda? Discord: Yan Liima #3702 Programador Júnior de LUA, PHP e JavaScript Juntos somos lendas, separados somos Mitos! ╚══════════════════════════ҳ̸Ҳ̸ҳஜ۩۞۩ஜҳ̸Ҳ̸ҳ═════════════════════════════╝
Postado Fevereiro 3, 2019 6 anos Autor 1 hora atrás, Yan Liima disse: O script só é isso mesmo? se for, ai está: function onLook(cid, thing, position, lookDistance) if isPlayer(cid) then local type = getPlayerStorageValue(cid, 89745) doPlayerSetSpecialDescription(cid, "\n "..(getPlayerSex(cid) == 0 and "She" or "He").." are "..(type < 0 and "Shinobi" or type == 1 and "Genin" or type == 2 and "Chunin" or type == 3 and "Jounin" or type == 4 and "Anbu" or type == 5 and "Sennin" or type == 6 and "Akatsuki Member")) end return true end não aconteceu nada, fico a mesma coisa de antes.
Postado Março 4, 2019 6 anos Citar function onLook(cid, thing, position, lookDistance) if isPlayer(thing.uid) then local player_saga = getPlayerStorageValue(thing.uid, 89745) doPlayerSetSpecialDescription(thing.uid,'.\n'..(getPlayerSex(thing.uid) == 0 and 'She' or 'He')..' are '..(player_saga < 0 and 'Shinobi' or player_saga == 1 and 'Genin' or player_saga == 2 and 'Chunin' or player_saga == 3 and 'Jounin' or player_saga == 4 and 'Anbu' or player_saga == 5 and 'Sennin' or player_saga == 6 and 'Akatsuki Member')) --local type = getPlayerStorageValue(thing.uid, 89745) --doPlayerSetSpecialDescription(thing.uid, "\n "..(getPlayerSex(cid) == 0 and "She" or "He").." are "..(type < 0 and "Shinobi" or type == 1 and "Genin" or type == 2 and "Chunin" or type == 3 and "Jounin" or type == 4 and "Anbu" or type == 5 and "Sennin" or type == 6 and "Akatsuki Member")) end return true end Testa aí Se funcionar não se esqueça de avisar!
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.