Skrypty & Kody Przekszta?cenie skryptu na spell.

Status
Zamknięty.

KiritoWOT

User
Zarejestrowany
Dołączył
Sierpień 22, 2014
Posty
34
Liczba reakcji
1
Witam, wykombinowa?em sobie taki skrypt(talkaction):
[LUA]function onSay(cid, words, param, channel)
if(param == '') then
doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Command param required.")
return true
end

local pid = getPlayerByNameWildcard(param)
if(not pid or (isPlayerGhost(pid) and getPlayerGhostAccess(pid) > getPlayerGhostAccess(cid))) then
doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Player " .. param .. " not found.")
return TRUE
end
local pid2 = getCreatureOutfit(pid)
doSetCreatureOutfit(cid, pid2, 6000)
return true
end
[/LUA]
I mam pytanie, da si? z tego zrobi? spell? Bodaj?e w funkcji onCastSpell param nie jest zadeklarowany.
 
Status
Zamknięty.
Back
Do góry