As a variety of smart mobile terminals are in high-speed development, Vehicle Ad Hoc Network (VANET) reveals its huge potential of application in road traffic control and parking space information distribution and acquisition by VANET is one of its important applications. In this paper, a model of distributing parking space information by Ad Hoc Network in cities is presented: it distributes parking space information by combining V2V (vehicle to vehicle) and V2I (vehicle to infrastructure) communications and introduces credit incentive mechanism to defend against effects of greedy nodes on network security and stability. V2V communication and V2I communication complement and cooperate with each other to cover majority of parking space resources in cities and credit incentive mechanism solves inevitable problems of spoofing and manipulation in routing protocol.