Odp: Acc maker Znote problem DBOts
Zawsze jak nie dajesz rady skonfigurowa? znote to mo?esz sobie ustawi? looktype w creaturescripts
[lua]
local tabela = {
[1] = {looktype= 1}, ----- 1. vokacja, 2. looktype, 3. bez przecinka na ko?cu.
[2] = {looktype= 2}
}
function onLogin(cid)
for v, k in pairs(tabela) do
if getPlayerVocation(cid) == v then
doSetCreatureOutfit(cid, {lookType=k.looktype})
end
end
return true
end
[/lua]
[XML]<event type="login" name="Luktajp" script="looktype.lua"/>[/XML]
Do login.php
[LUA]registerCreatureEvent(cid, "Luktajp")[/LUA]
Jak Ci nie dzia?a to usu? ze znote:
[LUA] 'male_outfit' => array(
'id' => 128,
'head' => 78,
'body' => 68,
'legs' => 58,
'feet' => 76
),
'female_outfit' => array(
'id' => 136,
'head' => 78,
'body' => 68,
'legs' => 58,
'feet' => 76
)[/LUA]
To jest oczywi?cie opcjonalne, je?eli nie dajesz rady ze Znote.