11.05.2014, 14:41
Hello,
This is my command for load plate number:
(plaque(fr) = plate (en) )
And the code for create vehicle:
But, the plate isn't load...
The field of the plate is: TEXT
Regards
This is my command for load plate number:
(plaque(fr) = plate (en) )
Код:
mysql_get_field("plaque",Field); CarInfo[i][cPlate] = strval(Field);
Код:
for(new h = 0; h < sizeof(CarInfo); h++) { AddStaticVehicleEx(CarInfo[h][cModel],CarInfo[h][cLocationx],CarInfo[h][cLocationy],CarInfo[h][cLocationz]+1.0,CarInfo[h][cAngle],CarInfo[h][cColorOne],CarInfo[h][cColorTwo],60000); SetVehicleNumberPlate(h, CarInfo[h][cPlate]); }
The field of the plate is: TEXT
Regards