16.02.2015, 06:30
it is becoz you are using it wrong
Wrong
https://sampwiki.blast.hk/wiki/MySQL/R33..._content_float
https://sampwiki.blast.hk/wiki/MySQL/R33...ld_content_int
Right
Wrong
pawn Код:
cache_get_field_float
cache_get_field_int
https://sampwiki.blast.hk/wiki/MySQL/R33...ld_content_int
Right
pawn Код:
cache_get_field_content_float(row, const field_name[], connectionHandle = 1)
cache_get_field_content_int(row, const field_name[], connectionHandle = 1)
pawn Код:
ParkMeters[total][parkID] = cache_get_field_content_int(0, total);
ParkMeters[total][parkPosX] = cache_get_field_content_float(1, total);
ParkMeters[total][parkPosY] = cache_get_field_content_float(2, total);
ParkMeters[total][parkPosZ] = cache_get_field_content_float(3, total);
ParkMeters[total][parkPosRX] = cache_get_field_content_float(4, total);
ParkMeters[total][parkPosRY] = cache_get_field_content_float(5, total);
ParkMeters[total][parkPosRZ] = cache_get_field_content_float(6, total);

