Now my script looks:
function onLogin(cid)
if getPlayerStorageValue(cid, 300) == -1 then
vargotitens = getPlayerVocation(cid)
end
if vargotitens == 5 then
doPlayerAddItem(cid, 2365, 1) -- bp
doPlayerAddItem(cid, 2305, 20) -- ff
doPlayerAddItem(cid, 2261, 20) -- destroy...