Ir para conteúdo

Featured Replies

Postado

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

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 por Yan Liima (veja o histórico de edições)

════ҳ̸Ҳ̸ҳஜ۩۞۩ஜҳ̸Ҳ̸ҳ═══╗

Te Ajudei? Rep + e ficamos Quits

166420979_logoyanliimaornight.png.33f822b8970081a5b3646e85dbfd5934.png

Precisando de ajuda?

discord.png.1ecd188791d0141f74d99db371a2e0a4.png.890d5a38d7bcde75543c72b624a65de1.pngDiscord: Yan Liima #3702

Programador Júnior de LUA, PHP e JavaScript

Juntos somos lendas, separados somos Mitos!

╚══════════════════════════ҳ̸Ҳ̸ҳஜ۩۞۩ஜҳ̸Ҳ̸ҳ═════════════════════════════╝

Postado
  • 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.

  • 4 weeks later...
Postado
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.

Visitante
Responder

Quem Está Navegando 0

  • Nenhum usuário registrado visualizando esta página.

Conteúdo Similar

Estatísticas dos Fóruns

  • Tópicos 96.9k
  • Posts 519.6k

Informação Importante

Confirmação de Termo