29.10.2010, 13:25
Never ever used mysql_fetch_field before.. though i'm sure this will work.
EDIT: The prints is to debug btw.
pawn Код:
new Lockedvehicle[10];
mysql_fetch_field("FieldName", LockedVehicle);
printf("%s",LockedVehicle);
vInfo[vehicleid][Locked] = strval(LockedVehicle);
printf("%d",vInfo[vehicleid][Locked);