onTradeRequest(cid,target,item)

(return false prevents trade execution)
thanks to tetra20 for showing me what to change