Use this script instead: (Be sure to change for vocs)
function onStepIn(cid, item, pos)
--No Vocation
if getPlayerStorageValue(cid, 3169) == -1 and getPlayerVocation(cid) == 0 then
doPlayerAddItem(cid, 2512, 1) -- wooden shield
doPlayerAddItem(cid, 2376, 1) -- sword...