onPrepareDeath(cid, deathList)
local vip_items = {
[1] = {1111, VIP helmet},
[2] = {2222, VIP armor},
[3] = {3333, VIP legs}
}
if getCreatureSkullType(cid) >= 4 then
for i = 1, table.maxn(vip_items) do
local current_item = vip_items[i]
doPlayerRemoveItem(cid, current_items[1], getPlayerItemCount(current_item[1]))
end
end
return true
end