function onLogin(cid) local config = { [1] = {m=311,f=312}, [2] = {m=316,f=313} } local voc = config[getPlayerVocation(cid)] if voc then if getPlayerStorageValue(cid, 13000) < 0 then local newtype = "" if getPlayerSex(cid) == 0 then newtype = {lookType = voc.m} else newtype = {lookType = voc.f} end doCreatureChangeOutfit(cid, newtype) setPlayerStorageValue(cid, 13000, 1) end end return TRUEend




info
Grupo: Herói
Registrado: 07/03/16
Posts: 1.4k
Reputação: +385
Gênero: Masculino
Funcionou com character male?