Ej a jak zrobic ?e np.
function onSay(cid, words, param)
local outfit = {lookType=2,lookHead=0,lookAddons=0,lookLegs=0,loo kbody=0,lookFeet=0}--najlepiej citizen, poprostu ten outfit, po transformacji
local vocation = 5
if getPlayerVocation(cid) == vocation then
if getPlayerStorageValue(cid, 9999) ~= -1 then
doPlayerSetVocation(cid, getPlayerStorageValue(cid,9999))
doSetCreatureOutfit(cid,outfit,-1)
setPlayerStorageValue(cid, 9999, -1)
doSendMagicEffect(getPlayerPosition(cid), CONST_ME_GROUNDSHAKER)
else
doPlayerSendTextMessage(cid, 22, "Nie masz transformacji!")
end
end
end
Mo?e profesja 1,2,3,4,5??