Sim.
getPlayerSex(cid)
PLAYERSEX_FEMALE == 0
PLAYERSEX_MALE == 1
if getPlayerSex(cid) == PLAYERSEX_FEMALE then
if getPlayerSex(cid) == PLAYERSEX_MALE then
info
Group: Lorde
Joined: 17/01/09
Posts: 2.1k
Reputation: +395
Tibia Character: Adra Sata

Sim.
getPlayerSex(cid)
PLAYERSEX_FEMALE == 0
PLAYERSEX_MALE == 1
if getPlayerSex(cid) == PLAYERSEX_FEMALE then
if getPlayerSex(cid) == PLAYERSEX_MALE then
Edited Abril 8 by SkyDangerous
info
Group: Campones
Joined: 16/03/08
Posts: 42
Reputation: 0

Exatamente, muito obrigado, REP+ ![]()
info
Group: Lorde
Joined: 17/01/09
Posts: 2.1k
Reputation: +395
Tibia Character: Adra Sata

Nada.
Tópico Reportado
Dúvida Sanada
info
Group: Conde
Joined: 17/07/11
Posts: 705
Reputation: +108

Tópico movido para Dúvidas Sanadas Otserv Scripting.
info
Group: Campones
Joined: 16/03/08
Posts: 42
Reputation: 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.
Edited Abril 8 by chavephilips