As long as temperature and humidity levels aren't too extreme, it's safe to play your guitar outside even if it's quite warm. To be extra safe though, try to avoid direct sunlight and play in the shade.