PHP код:
new carid[MAX_VEHICLES];
for(new h = 0; h < 330; h++) {
carid[h] = CreateVehicle(AutoInfo[h][aModel], AutoInfo[h][aAutoX], AutoInfo[h][aAutoY], AutoInfo[h][aAutoZ], AutoInfo[h][aAutoAngle], AutoInfo[h][aColor1], AutoInfo[h][aColor2],SPAWN_CARS);
if(AutoInfo[h][aStats] == 0) {
new strings[256];
format(strings,sizeof(strings),"Price:%d\n LvL:%d" ,AutoInfo[h][aPrice],AutoInfo[h][aKey]);
nomer[h] = CreateDynamic3DTextLabel(strings,0xFF0000FF, AutoInfo[h][aAutoX], AutoInfo[h][aAutoY], AutoInfo[h][aAutoZ], 15.0, INVALID_PLAYER_ID,h,0,-1,-1, -1,13.0);
} else {
new strings[256];
format(strings,sizeof(strings),"{00FF00}ID:{FFFFFF} %d\n{00FF00}Owner:{FFFFFF} %s",h,AutoInfo[h][aOwner]);
nomer[h] = CreateDynamic3DTextLabel(strings, 0xFFFFFFAA, AutoInfo[h][aAutoX], AutoInfo[h][aAutoY], AutoInfo[h][aAutoZ], 15.0, INVALID_PLAYER_ID,h,0,-1,-1, -1,13.0);
gCarLock[h] = 1;
LockCar(h);
}
Attach3DTextLabelToVehicle(nomer[h], carid[h],0.0, 0.0, 2.0);
}
Что-то типо такого