function onSay(cid, words, param)
local voce = Jaki vocation mo?e to robi?
local lvl = wymagany lvl
local voc = W jaki vocation ci? zamienia
local outfit = {lookType=id outfitu w jaki ma transformowa?,lookHead=20,lookAddons=0,lookLegs=40,lookBody=30,lookFeet=50}
local outfitTime = 10999999
local napis = "Co ma m?wi? przy transformie"
local effekt = 13
----------------------kod-----------------------------
if getPlayerVocation(cid) == voce and getPlayerLevel(cid) >= lvl then
doPlayerSetVocation(cid,voc)
doSetCreatureOutfit(cid, outfit, outfitTime)
doPlayerSay(cid,napis,16)
local pos = getPlayerPosition(cid)
doSendMagicEffect(pos,effekt)
else
doPlayerSendCancel(cid,"To co b?dzie napisane nad chatem kiedy nie mo?esz transformowa?")
end
return 1
end