hello man :
for save non own car you should change isOwnedvehicle
function to
function isOwnedvehicle(source , vehicleProps)
return true
end
and for weapons you should get ped weapon and add check this topic Is there a way to get what weapons a player has? - #6 by Sergueiii and add thats function to OpenPlayerInventory
both of them in base function file