Olá, estou com uma grande duvida a tempos e queria saber se existe algum jeito diferente de mudar uma looktype a nao ser esse:
------------------------------------exemplo------------------------------function onSay(cid, words, param)
local lvl = 500
local outfit = {lookType=265,lookHead=20,lookAddons=0,lookLegs=40,lookBody=30,lookFeet=50}
local outfitTime = 1099999
if getPlayerLevel(cid) >= lvl then
doSetCreatureOutfit(cid, outfit, outfitTime)
else
doPlayerSendCancel(cid,"Sorry, not possible.")
end
return 1
end
Desse jeito ele muda o looktype sim, mas quando reloga volta pra que estava antes.
Eu tentei retirar o return 1, n mudou nada, tentei retirar o outfitTime, mas ai só doSetCreatureOutfit(cid, outfit) não funfa.
tentei por qualquer numero como 3 ou 1, no lugar de outfitTime, ai deu certo mas continua com omesmo bug de estar com a mesma looktype de antes quando relogar.
Queria saber outro comando lua que mudasse a outfit alem de doSetCreatureOutfit(cid, outfit, outfitTime)
ou se realmente existe outro (:
obrigado.