Ir para conteúdo
  • 0

Sobre ,getcreaturecondition, Ajude Me


notle2012

Pergunta

3 respostass a esta questão

Posts Recomendados

  • 0

getCreatureCondition(cid, condition)

essa function vai retorna true ou false, caso o player, cid, esteja com a condition ali...

achu q essas sao todas as q tem... \/

 

CONDITION_POISON = 1

CONDITION_FIRE = 2

CONDITION_ENERGY = 4

CONDITION_PHYSICAL = 8

CONDITION_HASTE = 16

CONDITION_PARALYZE = 32

CONDITION_OUTFIT = 64

CONDITION_INVISIBLE = 128

CONDITION_LIGHT = 256

CONDITION_MANASHIELD = 512

CONDITION_INFIGHT = 1024

CONDITION_DRUNK = 2048

CONDITION_EXHAUST = 4096

CONDITION_FOOD = 8192

CONDITION_REGENERATION = 8192

CONDITION_SOUL = 16384

CONDITION_DROWN = 32768

CONDITION_MUTED = 65536

CONDITION_ATTRIBUTES = 131072

CONDITION_FREEZING = 262144

CONDITION_DAZZLED = 524288

CONDITION_CURSED = 1048576

CONDITION_PACIFIED = 2097152

CONDITION_GAMEMASTER = 4194304

 

 

exemplo..

if getCreatureCondition(cid, CONDITION_OUTFIT) then
doRemoveCondition(cid, CONDITION_OUTFIT)
end

Editado por Slicer
Link para o comentário
Compartilhar em outros sites

×
×
  • Criar Novo...