Sim.
getPlayerSex(cid)
PLAYERSEX_FEMALE == 0
PLAYERSEX_MALE == 1
if getPlayerSex(cid) == PLAYERSEX_FEMALE then
if getPlayerSex(cid) == PLAYERSEX_MALE then
info
Grupo: Lorde
Registrado: 17/01/09
Posts: 2.1k
Reputação: +395
Char no Tibia: Adra Sata

Sim.
getPlayerSex(cid)
PLAYERSEX_FEMALE == 0
PLAYERSEX_MALE == 1
if getPlayerSex(cid) == PLAYERSEX_FEMALE then
if getPlayerSex(cid) == PLAYERSEX_MALE then
Editado Abril 8 por SkyDangerous
info
Grupo: Campones
Registrado: 16/03/08
Posts: 42
Reputação: 0

Exatamente, muito obrigado, REP+ ![]()
info
Grupo: Lorde
Registrado: 17/01/09
Posts: 2.1k
Reputação: +395
Char no Tibia: Adra Sata

Nada.
Tópico Reportado
Dúvida Sanada
info
Grupo: Conde
Registrado: 17/07/11
Posts: 705
Reputação: +108

Tópico movido para Dúvidas Sanadas Otserv Scripting.
info
Grupo: Campones
Registrado: 16/03/08
Posts: 42
Reputação: 0
TFS 0.4 para 8.6
Boa Noite!
Gostaria de saber se existe algum comando para checar se o personagem é "male" ou "female".
Não é talkaction, é no arquivo lua mesmo.
Obrigado.
Editado Abril 8 por chavephilips