Get parameters for spawning from mysql base

Hi! I understood how server can autospan vehicles (resolved here - http://212.24.105.58/topic/689/custom-car-spawn/10)

But know i want to get the coordinates and model of the cars from my mysql base (not from map.lua). which files i need to edit?

Hi have you succeeded and would you have a tutorial