Engine turns

Hi i just bought a 2000 yamaha gas golf cart drove it for 5 mins and it quit on me the enginge turns but does not engage in forward or revese to drive it any suggestions as to what the problem might be thanks
 
Top