first gta 3 style 3d sandbox game I can recall(and have) is bethesda's The Terminator from 1990, though I have no idea if it is indeed the first. Granted, regardless of being the first, the fact that they implemented a decent sized LA and added options such as carjacking, robbing stores, gunplay...