28

[Encerrado] Ajudadinha simples script outfit

Por 28041, 15 de ago. de 2017 em Tópicos Sem Resposta

18
4.6k
PoccnnP
15 de agosto de 2017 às 13:16

Funcionou com character male?

CrypterC
17 de agosto de 2017 às 18:26

 

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

 

3 meses depois...
StigalS
29 de novembro de 2017 às 15:19
A questão neste tópico de suporte foi encerrada por falta de resposta. Este tópico está fechado e foi movido para Suporte - Tópicos Sem Resposta